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

Merge destroys custom data linked to contact_sub_type without warning user

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.3.beta
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Two contacts, A and B.

      A: Individual, no custom data
      B:Individual - some sub type, has custom data attached.
      If a Merge is attempted between A and B CiviCRM does not display the sub-type to the user. If you say that B is the duplicate, this custom data is lost forever, without warning.

      The patch attached does two things:

      1. It puts the contact_sub_type after the contact's name in the merge table header – so the user can see what they are doing.
      2. If contact_sub_type is set on the duplicate (the one that will be deleted), a warning is printed.

      Hope this is helpful to someone else. Really glad I spotted it before my client lost data!

      Rich / artfulrobot.com

        Attachments

        1. merge_patch
          3 kB
          Rich Lott
        2. Selection_030.png
          9 kB
          Rich Lott

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              artfulrobot.com Rich Lott
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: