Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19287

MultiRecord Contact Reference Fields Do Not Update On Merge Duplicate

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I have tested this on the demo server.

      Setup
      A contact with a custom field group (that can contain multiple values) that holds a contact reference field.

      Example Scenario

      1. Andrew Adams has Barry Adams added as a contact reference in our custom field.
      2. Barry registers for an event and has a duplicate contact created.
      3. Barry Adams is merged with the duplicate, with the duplicate being marked as the primary contact (which gives Barry a new CID).
      4. Andrew Adams contact reference for Barry Adams still points to the old Barry Adams.

      In some cases it may be difficult to determine which contact is the original. With that in mind we should not assume that the person doing the merge will choose appropriately.

      I suggest that a duplicate merge should trigger a check for relationships and update any change in CID.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              slgooding Lee Gooding
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: