Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.4
-
Fix Version/s: 4.5
-
Component/s: Core CiviCRM
-
Labels:
Description
This bug was detected because a scheduled reminders where being sent for a second time after merging contacts, as described at the forums. [1] The reference to the old contact_id at civicrm_action_log wasn't being updated, so CiviCRM sends scheduled reminders once again to the new contact.
The list of entities and fields that are being updated when merging two contacts, is statically defined at CRM_Dedupe_Merger, at the function cidRefs(). As a TODO states in the body of the function, this list should be generated dynamically.