-
Notifications
You must be signed in to change notification settings - Fork 142
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
#12794 - The same event participant should not be allowed to be selected #12843
#12794 - The same event participant should not be allowed to be selected #12843
Conversation
…allowed_to_be_added_as_event_participant
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
…allowed_to_be_added_as_event_participant
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
sormas-app/app/src/main/java/de/symeda/sormas/app/caze/edit/CaseEditActivity.java
Outdated
Show resolved
Hide resolved
sormas-app/app/src/main/java/de/symeda/sormas/app/person/SelectOrCreatePersonDialog.java
Outdated
Show resolved
Hide resolved
sormas-app/app/src/main/java/de/symeda/sormas/app/person/SelectOrCreatePersonDialog.java
Outdated
Show resolved
Hide resolved
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
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.
Found an incorrect workflow:
- Create an event with a specific disease (e.g. COVID-19), and create an event participant for that event
- Create a case of the same disease for the same person
- Go to the "Events" section of the case and try to link the case to the created event
Behaviour: Warning message that this case has already been linked to the event appears, which is not true as only the person has been added to the event, but not their case.
Expected Behaviour: Linking the case to the event is successful, but of course no new event participant is created, but the existing person in the event is used instead. If the user tries again to link the same event (after successfully linking the case once), the warning message is displayed.
…allowed_to_be_added_as_event_participant
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
…ked not the event
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=12843 |
Fixes #12794