-
Notifications
You must be signed in to change notification settings - Fork 2
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: CE-1150-multiple-action-taken-saved-to-the-same-complaint #768
fix: CE-1150-multiple-action-taken-saved-to-the-same-complaint #768
Conversation
…-Action-taken-saved-to-the-same-complaint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I discussed this change with @nayr974 and we both agree that we think that this validation should be moved out of the reducer and into the case management backend
I'm guessing that the case management backend is probably doing an upsert and you just need to make sure that the action doesn't exist before inserting it (and then you can return a message if it did)
To elaborate a bit, having the validation in the back-end:
Let us know if you want to chat or make a case against moving it to the back-end :) |
…-Action-taken-saved-to-the-same-complaint
…-Action-taken-saved-to-the-same-complaint
…-Action-taken-saved-to-the-same-complaint
Quality Gate passedIssues Measures |
Description
This PR fixes an issue when the app does not handle well concurrent changes in complaint actions
Fixes # (CE-1150)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
In the complaint list try to filter by the action you entered in the first tab. The app should find your complaint.
In the complaint list try to filter by the action you entered in the second tab (that gave you an error). Your complain should not appear in the list.
Checklist
Further comments
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: