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

Merge for Organizations not updating Current Employer field on associated Individuals

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4
    • Fix Version/s: 3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I have discovered a bad bug when using Merge for Organizations. I have reproduced it both on the 3.1 Demo and the 3.2 Sandbox.

      The problem:
      When you merge two duplicate organization-type contacts, CiviCRM will delete the 'Current Employer' value from all the individual-type contacts associated with one of those duplicate organization contacts.

      To reproduce:
      1) Make two organization contacts, both called 'CiviCRM'.
      2) Make an individual contact for a 'John Doe' and make his current employer CiviCRM.
      3) Make an individual contact for a 'Michael Smith' and make his current employer the other CiviCRM.
      4) Now use merge for organizations to merge the two 'CiviCRM' organization contacts.
      5) Open the merged CiviCRM contact. On the relationships tab, it will be associated with both Michael Smith and John Doe, as it should be. Now open both Michael Smith and John Doe. You will see that one of them - either Michael or John - has had his Current Employer field erased - it no longer displays 'CiviCRM'!! (Even though on his Relationships tab he is still associated as the employee of 'CiviCRM'! Ie, civi should be updating the Current Employer field to the new merged Organization contact, but it does not).

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              ylesches David Lesches
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: