All Visits of Contacts of the same Person are deleted when permanent deletion is triggered for one of the Contacts, if there's a distance of >30 days between their Report Dates #10622
Labels
backend
Affects the web backend
bug
An error or misbehavior of an existing feature (ticket type)
contacts
major
A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects)
qa-verified
Issue has been tested and verified by QA
Milestone
Bug Description
When 2 Contacts are created for the same Person and the distance between their Report Dates exceeds the threshold of 30 days, when the automatic deletion is triggered for one of the Contacts, all their Visits are deleted.
The issue is not reproducible when both Contacts have the same Report Date and Last Contact Date;
Steps to Reproduce
Actual Behavior
Both Visits get deleted;
Expected Behavior
Only Visit no. 1 should get deleted;
Screenshots
System Details
Additional Information
I found this issue while testing ticket #9666
The text was updated successfully, but these errors were encountered: