Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.1.4
-
Fix Version/s: 2.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
When deduping contacts, if the two contacts have different address types flagged as primary (e.g. Home in Contact 1, and Main in Contact 2), the resulting merged record retains the primary flag for both sets of addresses/phones/emails.
This can have significant trickle down effects in other areas. For example, frontend profile searches will duplicate (or multi-plicate) the record in the result set because it can't distinguish the primary contact.
Recommended action:
When deduping, the "duplicate" record's address/phone/email primary flag should be removed, UNLESS no address/phone/email set current exists for the retained record. Since the v2.1 dedupe functions allow the user to swap the records when deduping, this gives the user a measure of control over which address block is retained as primary.