Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Improve DSC error handling #801

Merged
merged 2 commits into from
May 17, 2024
Merged

Conversation

ntatoud
Copy link
Collaborator

@ntatoud ntatoud commented May 17, 2024

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

Copy link

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

@FlorianGille FlorianGille merged commit d0ab478 into develop May 17, 2024
5 checks passed
@FlorianGille FlorianGille deleted the fix/handle-dsc-errors branch May 17, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants