Badsender-com / LePatron.email

LePatron is an opensource email builder allowing to industrialize your email template production. Build tailor made email templates and make them available to your non-technical users.
https://www.lepatron.email
GNU General Public License v3.0
73 stars 12 forks source link

Fix: Improve DSC error handling #801

Closed ntatoud closed 5 months ago

ntatoud commented 5 months ago

Description of changes

  1. Send a feedback to the client when trying to create a campaign on DSC with a name that is already take => Throw the error caught when doing the POST creation request

  2. When updating a campaign for a dsc profile, if the campaign was deleted on dsc, the user would not be able to make any change to this campaign. Instead, switch to creation mode and allow the user to create a new campaign for this mail and dsc profile. => On the Front end, instead of displaying the not found error, catch it and switch to update mode

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud