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

Contributions On-Behalf-Of Assoc to Deleted Contacts

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Important
    • Resolution: Won't Do
    • Affects Version/s: 4.6.26
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When a contact has an active Employee of Relationship to a deleted organization,
      a contribution (e.g. membership payment) can still be attributed to the organization.

      I see two ways to address this:
      1) Have the contributions code check whether a contact is active. (I really don't want to go there).

      2) (my preference) update the logic for the Disable Expired Relationships scheduled job look for relationships to contacts in the trash and mark them inactive. Downside might be if an organization is taken out of the trash after the job has run, then the relationships will still be disabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ginkgomzd Michael Z Daryabeygi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: