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

CRM_Core_Error::fatal triggering a php exception when called from a payment extension

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.1, 4.2.2
    • Fix Version/s: 4.2.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Namely, our Sagepay extension has suddenly stopped producing any errors when something goes wrong.

      This seems to relate to some recent changes to the top of CRM_Core_Error::fatal().

      See also related issue CRM-11042

      I'm not able to contribute a fix in this case, as the change is undocumented and poorly commented, so I'm not sure if I would be fixing it in the right way.

      Currently, we have put a fix in place in the Sagepay extension to set CRM_Core_Error::$modeException to null before calling CRM_Core_Error::fatal()

      See also: http://forum.civicrm.org/index.php/topic,26198.msg111537.html#msg111537

      If someone could look into this, that would be great.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timotten Tim Otten
                Reporter:
                andyw Andrew Walker
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: