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

[Contacts] 'Follow-up status comment' content is duplicated when merging contacts that have resulting cases #8312

Closed
adinaflorea9 opened this issue Mar 9, 2022 · 1 comment · Fixed by #8644
Assignees
Labels
backend Affects the web backend bug An error or misbehavior of an existing feature (ticket type) contacts minor Text issues, layouting or cosmetic problems, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA

Comments

@adinaflorea9
Copy link

Bug Description

The 'Follow-up status comment' content is duplicated in the preserved contact, when 2 duplicate contacts are merged, if one or both of them have a resulting case.

Steps to Reproduce

  1. Create 2 contacts with identical information ('Contact1' and 'Contact2') and set the same 'Source Case' for them;
  2. Create a resulting case for 'Contact1';
  3. Merge 'Contact 1' into 'Contact2';
  4. Observe the 'Follow-up status comment' of the preserved contact ('Contact2').

Actual Behavior

The 'Follow-up status comment' content is duplicated.

Expected Behavior

The 'Follow-up status comment' content is not duplicated.

Screenshots

image

GIF of the behavior:
Follow-up comment contact

System Details

  • Device: Windows 10
  • SORMAS version: 1.70.0-SNAPSHOT(83ee062)
  • 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) contacts labels Mar 9, 2022
@MateStrysewske MateStrysewske added backend Affects the web backend minor Text issues, layouting or cosmetic problems, ... (Severity for bugs/defects) labels Mar 10, 2022
@BarnaBartha BarnaBartha self-assigned this Mar 29, 2022
BarnaBartha added a commit that referenced this issue Apr 11, 2022
…ctFix

#8312 - fix duplication of automatic message on contact merge
@vidi42 vidi42 added this to the Sprint 114 - 1.71.0 milestone Apr 11, 2022
@roxanamlendea roxanamlendea self-assigned this Apr 11, 2022
@roxanamlendea
Copy link

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

@roxanamlendea roxanamlendea added the qa-verified Issue has been tested and verified by QA label Apr 12, 2022
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) contacts minor Text issues, layouting or cosmetic problems, ... (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.

5 participants