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

Merging with 2 different locations of 'Primary location for this contact'

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Setup with 2 contact locations.
      And having two duplicate contacts made of imported:
      contact 1 has the primary location with 'Primary location for this contact' checked.
      contact 2 has the additional location with 'Primary location for this contact' checked.

      In finding duplicates the duplicate contacts can be merged.
      Dont use merge all, but use merge 1 location to the other (empty) location.
      It goes perfect, but look in the listings of contacts and there are two lines with the same contact id numbers. The browser (IE) gives an error in the page were the contact is shown.

      I tested this on the test site and can reproduce it there. See
      http://demo.civicrm.org/drupal/civicrm/contact/search/basic?q=civicrm/contact/search/basic&force=1&sortByCharacter=M
      Name match test (id 749)

      To create this:
      I made 2 contacts (first name: test, last name: match) with the same email adress and the locations filled in as described. Then I merged these contacts and the result is on the listings page.

      To solve this problem (by hand) you have to edit the contact and have to make 1 'Primary location for this contact'

      Would be nice to have a warning and a choise in 'Primary location for this contact' when merging.

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              msn Martin Niewzwaag
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: