CiviCRM

Pending pledge payments logic may fail in contribution form

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 3.4.8, 4.0.8
  • Fix Version/s: 4.1.0
  • Component/s: CiviContribute
  • Labels:
    None
  • Is MIH?:
    No
  • Code Sprint:
    No

Description

Pending pledge payments logic may fail in contribution form ...

... if there are several active pledges but only one of them has open items and it is not the last one checked ...

as the action code that is executed if $paymentsDue is set but $multpleDue is false
fetches values are taken from the most resent $payments result. This is "false" though
if the last pledge checked had no open items. The actual data for the open item
found is stored in $paymentsDue instead, so this variable needs to be used instead
of $payments

Activity

Hide
Hartmut Holzgraefe added a comment -
proposed fix
Show
Hartmut Holzgraefe added a comment - proposed fix
Hide
Yashodha Chaku added a comment -
I couldn't replicate wrong behavior on my local install.
Can you replicate the erroneous behavior on demo (http://demo.civicrm.org/)
and give steps to replicate.
Show
Yashodha Chaku added a comment - I couldn't replicate wrong behavior on my local install. Can you replicate the erroneous behavior on demo (http://demo.civicrm.org/) and give steps to replicate.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: