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.