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

Contact merge deletes a contribution record if it is linked to a membership being merged

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 4.4.9, 4.5
    • Component/s: CiviContribute, CiviMember
    • Labels:
      None

      Description

      This is a data loss issue, so high priority.
      ----------------------------
      When two (duplicate) contacts have the same type of membership and you merge the contacts - the membership records are also 'merged'. The contribution record associated with the 'deleted' membership is deleted. This is wrong - we should never delete a contribution record during merge UNLESS the user has explicitly unchecked the 'merge contributions' checkbox in the merge form.

      To recreate:
      Record 203 had (amongst other things) contributions and an expired membership of org A
      Record 204 had (amongst other things) contributions and a current membership of org A

      I merged record 204 into record 203, checked 'Memberships' and 'Contributions' to be merged, did NOT check 'add new'.

      Results:
      Record 203 has the current membership with it's start / end date (moved from record 204). This seems fine.
      Record 203 has one contribution (the one moved over from record 204 - also fine)
      The contribution which was linked to 203's membership signup has been deleted - THIS IS A BUG!!!


      Additional details here:
      http://forum.civicrm.org/index.php/topic,32979.0.html

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: