CRM-15882 batch merge overwrites addresses rather than try to preserve them

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.5
    • Fix Version/s: 4.5.6
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When selecting the batch option to merge duplicates found in a group, if the duplicates have different addresses saved to the same location id, CiviCRM should try add the merged address to a new, unused location id and if that fails, it should report it as a conflict.

      Instead, the main address overwrites the other address.

        Attachments

          Activity

          [CRM-15882] batch merge overwrites addresses rather than try to preserve them
          Jamie McClelland added a comment -

          PR: https://github.com/civicrm/civicrm-core/pull/5028

          I also fixed a few minor bugs in Merge.php.

          Atif Shaikh added a comment -

          PR works as expected

            People

            • Assignee:
              Atif Shaikh
              Reporter:
              Jamie McClelland

              Dates

              • Created:
                Updated:
                Resolved: