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

'Follow-up until' date of an event participant's resulting case does not get updated #8730

Closed
adinaflorea9 opened this issue Apr 6, 2022 · 1 comment · Fixed by #8777
Closed
Assignees
Labels
backend Affects the web backend bug An error or misbehavior of an existing feature (ticket type) cases events laboratory Samples, pathogen tests and lab messages major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA

Comments

@adinaflorea9
Copy link

Bug Description

When a resulting case is created for an event participant, and the 'Date sample was collected' is set to an earlier date than the event's and case's 'Date of report', the 'Follow-up until' date of the case is not updated correctly.

Steps to Reproduce

  1. Create an event and set the 'Date of report' to the 1st of April;
  2. Add an event participant to the event from step 1;
  3. Add a sample with a positive pathogen test result to the event participant from step 2 - set the 'Date sample was collected' to the 31st of March;
    => 'Create resulting case from event participant with positive test result?' pop-up is triggered;
  4. Click 'Yes' in the pop-up;
    => 'Create new case' from is triggered;
  5. Fill in the mandatory fields with valid information and save the case;
  6. On the case's page, observe the values for 'Follow-up until' date and 'Expected follow-up until' date.

Actual Behavior

'Follow-up until date' is not updated based on the 'Date sample was collected', only the 'Expected follow-up until' date is updated.

Expected Behavior

'Follow-up until date' should be updated - just as 'Expected follow-up until date' - and it should be calculated based on the 'Date sample was collected' when this date is set earlier than the 'Date of report' of the case.

Screenshots

'Date of report' of the case and 'Date sample was collected':
image

'Follow-up until' and 'Expected follow-up until' dates:
image

System Details

  • Device: Windows 10
  • SORMAS version: 1.71.0-SNAPSHOT(8c3edae)
  • Android version/Browser: Chrome
  • Server URL: local machine and test-de2.sormas.netzlink.com
  • User Role: Admin, NatUser

Additional Information

@adinaflorea9 adinaflorea9 added bug An error or misbehavior of an existing feature (ticket type) cases events laboratory Samples, pathogen tests and lab messages labels Apr 6, 2022
@MateStrysewske MateStrysewske added major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) backend Affects the web backend labels Apr 6, 2022
@MateStrysewske MateStrysewske added this to Backlog in SORMAS Team 2 - DEV - Iteration Backlog via automation Apr 6, 2022
@alexcaruntu-vita alexcaruntu-vita self-assigned this Apr 7, 2022
@alexcaruntu-vita alexcaruntu-vita moved this from Backlog to In Progress in SORMAS Team 2 - DEV - Iteration Backlog Apr 7, 2022
@alexcaruntu-vita alexcaruntu-vita added this to the Sprint 114 - 1.71.0 milestone Apr 10, 2022
@alexcaruntu-vita alexcaruntu-vita moved this from In Progress to Review in SORMAS Team 2 - DEV - Iteration Backlog Apr 10, 2022
SORMAS Team 2 - DEV - Iteration Backlog automation moved this from Review to Testing Apr 11, 2022
BarnaBartha added a commit that referenced this issue Apr 11, 2022
…w-up-until-on-case-resulting-from-event-participant

#8730 - Update follow up for cases created from event participants
@roxanamlendea roxanamlendea self-assigned this Apr 11, 2022
@roxanamlendea roxanamlendea added the qa-verified Issue has been tested and verified by QA label Apr 13, 2022
@roxanamlendea
Copy link

Verified ticket on local environment using the latest version of Sormas 1.71.0-SNAPSHOT from the development branch (d49c3be).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Affects the web backend bug An error or misbehavior of an existing feature (ticket type) cases events laboratory Samples, pathogen tests and lab messages major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants