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

Documents of the discarded case / contact get lost while merging #5722

Closed
dbe21 opened this issue Jun 8, 2021 · 2 comments · Fixed by #5780
Closed

Documents of the discarded case / contact get lost while merging #5722

dbe21 opened this issue Jun 8, 2021 · 2 comments · Fixed by #5780
Assignees
Labels
backend Affects the web backend bug An error or misbehavior of an existing feature (ticket type) cases contacts major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA

Comments

@dbe21
Copy link

dbe21 commented Jun 8, 2021

Bug Description

Documents (any kind of file) of the discarded case / contact are not merged with the remaining case / contact during the merging process. Only the documents of the remaining case / contact are displayed in the document section.

Steps to Reproduce

For Cases:

  1. Create two cases with a similar name, same date of birth and same sex
  2. For the first case: Add any file to documents
  3. For the second case: Add a different file to documents
  4. Merge the cases

For Contacts:

  1. Create two Contacts with a similar name, same date of birth and sex and link both to the same Source Case
  2. For the first contact: Add any file to documents
  3. For the second contact: Add a different file to documents
  4. Merge the contacts

Expected Behavior

Documents of the discarded case / contact should be added to the document section of the merged case / contact

Screenshots

Example for case merge:

Case 1: Remaining Case
image

Case 2: Discarded Case
image

Merged Case: Documents of case 2 are missing
image

System Details

  • Device:
  • SORMAS version: 1.60
  • Android version/Browser: Chrome
  • Server URL: test1402.sormas-oegd.de
  • User Role: Admin, National user

Additional Information

@dbe21 dbe21 added the bug An error or misbehavior of an existing feature (ticket type) label Jun 8, 2021
@VitaliHZI VitaliHZI added minor Text issues, layouting or cosmetic problems, ... (Severity for bugs/defects) and removed minor Text issues, layouting or cosmetic problems, ... (Severity for bugs/defects) labels Jun 9, 2021
@markusmann-vg markusmann-vg added this to Backlog in SORMAS Team 2 - DEV - Iteration Backlog via automation Jun 10, 2021
@markusmann-vg markusmann-vg added this to the Sprint 104 - 1.61.0 milestone Jun 10, 2021
@StefanKock StefanKock added backend Affects the web backend cases contacts labels Jun 11, 2021
@leventegal-she leventegal-she self-assigned this Jun 14, 2021
@leventegal-she leventegal-she added this to Backlog in SORMAS Team 4 - TEC - Iteration Backlog via automation Jun 14, 2021
@leventegal-she leventegal-she moved this from Backlog to In Progress in SORMAS Team 4 - TEC - Iteration Backlog Jun 14, 2021
@leventegal-she leventegal-she moved this from In Progress to Review in SORMAS Team 4 - TEC - Iteration Backlog Jun 14, 2021
SORMAS Team 4 - TEC - Iteration Backlog automation moved this from Review to Testing Jun 15, 2021
@StefanKock StefanKock added the major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) label Jun 21, 2021
@RazvanHodisan RazvanHodisan self-assigned this Jun 24, 2021
@RazvanHodisan
Copy link

For cases this works but for Contacts I'm not able to test due to #5952

@RazvanHodisan
Copy link

Verified on test-de, Version: 1.61.0-SNAPSHOT

@RazvanHodisan RazvanHodisan added the qa-verified Issue has been tested and verified by QA label Jun 25, 2021
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 contacts 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
6 participants