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

#12794 - The same event participant should not be allowed to be selected #12843

Conversation

carina29
Copy link
Contributor

Fixes #12794

@sormas-vitagroup
Copy link
Contributor

@sormas-vitagroup
Copy link
Contributor

@sormas-vitagroup
Copy link
Contributor

@sormas-vitagroup
Copy link
Contributor

@sormas-vitagroup
Copy link
Contributor

Copy link
Contributor

@MateStrysewske MateStrysewske left a 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.

@sormas-vitagroup
Copy link
Contributor

@sormas-vitagroup
Copy link
Contributor

@MateStrysewske MateStrysewske merged commit fb835dc into development Jan 12, 2024
7 of 12 checks passed
@MateStrysewske MateStrysewske deleted the #12794-the_same_person_should_not_be_allowed_to_be_added_as_event_participant branch January 12, 2024 11:01
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.

The same person can be added multiple times as event participant to the same event via the mobile app
3 participants