-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev/core#2039 Fix merge code so that deleted contacts are not left wi…
…thout a primary address This was picked up in tests to ensure that removing a line of code creating excessing queries would not cause regressions. https://lab.civicrm.org/dev/core/-/issues/2039 I considered altering the test to exclude deleted contacts but we run the risk that if a contact is undeleted they will have no primary address so I figured the integrity makes sense. Note there are a couple of queries in this code that can go (retrieving stuff we already have) - depending how I go on getting review on this & related tidy up I'll remove them in a later PR
- Loading branch information
1 parent
7fef2ca
commit 98facda
Showing
3 changed files
with
101 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters