Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.3
-
Component/s: CiviPledge
-
Labels:None
Description
When importing contributions which are pledge payments that are overdue, the import fails, complaining that it cannot find a pending payment.
The issue is that the import logic only considers pledges that are 'Pending' or 'In Progress', and only considers pledge-payments which are 'Pending'. When a payment is overdue, both the pledge and pledge-payment have a status of 'Overdue'.
I've attached 2 patch files for CRM/Pledge/BAO/Payment.php and CRM/Pledge/BAO/Pledge.php which fix this problem in CiviCRM v2.2.0.