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

fatal error when trying to cancel a contribution recur payment

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.6
    • Fix Version/s: 4.4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None

      Description

      easy to reproduce in a test - ie

      function testCancelRecur()

      { $contributionRecur = $this->callAPISuccess('contribution_recur', 'create', $this->_params); CRM_Contribute_BAO_ContributionRecur::cancelRecurContribution($contributionRecur['id'], CRM_Core_DAO::$_nullObject); }

      Will put the full class in a PR but the crucial thing is that end_date is not null as this is a long running bug with the DAO - that when you do a FIND the date is returned in a way that is not valid for SAVE

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: