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

Cannot Change Contribution from Custom Status to Any Other Status

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.5
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Develop an extension for CiviCRM 4.4.4 that will allow custom contribution statuses to be used for contributions, and changes to be made amongst them, and separately amongst the ones not created by the extension, but no transitions between those created by the extension and those not created by the extension.

      Original Description

      Create a custom contribution status through Option Groups. Assign this status to a contribution of any type. Then edit this contribution and attempt to change the status any other status, such as Completed, Cancelled, or any other custom status. An error occurs.

      See attached. Thanks sponsorship available for a quick fix.

      Notice: Undefined index: in CRM_Contribute_BAO_Contribution::checkStatusValidation() (line 2877 of /home/webeditor/jenkins-node/workspace/buildkit-demos.civicrm.org/build/d7-demo/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).
      Warning: in_array() expects parameter 2 to be array, null given in CRM_Contribute_BAO_Contribution::checkStatusValidation() (line 2877 of /home/webeditor/jenkins-node/workspace/buildkit-demos.civicrm.org/build/d7-demo/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).

        Attachments

        1. 2014-03-31_19-25-28.png
          58 kB
          Joe Murray
        2. custom.png
          10 kB
          Stoob
        3. custom2.png
          8 kB
          Stoob

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: