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

Don't crash when we can't UpdateSubscription for recurring contributions

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.17, 4.7.18
    • Fix Version/s: 4.7.19
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Currently UpdateSubscription in CRM/Contribute/Form/UpdateSubscription.php uses fatal if it doesn't have the information it requires.  This isn't very friendly to the user when he clicks edit on a recurring contribution.  Change CRM_Core_Error::fatal to  CRM_Core_Error::statusBounce in this case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: