Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.4
-
Fix Version/s: 4.7.7
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
Contributions with pledges are not having their pledges updated correctly in 4.7.
This relates to CRM-18303 but along with a unit test I have made changes so that the required fields are passed to update transactions rather than the contribution object. As a general principle I have been trying to passing individual variables rather than arrays or objects when trying to unravel complex functions as it removes the unpredictability of how they are used (although it does make for ugly function sigs )
CRM-18303 would likely fix this bug - but I feel the patch I've put through helps us on the path towards making that function reliable