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

CRM_Contribute_BAO_Contribution :: checkDuplicate() sometimes fails badly

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Sometimes CRM_Contribute_BAO_Contribution :: checkDuplicate() will be passed unexpected paramaters. In these cases it incorrectly returns all the contributions in civicrm as duplicates. This results in a string of failures, sometimes causing user-submitted contributions to fail. The included patch adds some sanity checking. Also attached is an error report of a situation where unexpected parameters caused a contribution to fail. Oddly enough it doesn't happen on all contributions.

        Attachments

        1. checkDuplicate.patch
          2 kB
          dave hansen-lange
        2. find_dupe_error_report.txt
          338 kB
          dave hansen-lange

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: