CRM-9355 joomla: revert to native error display if JError class not defined

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      in Joomla, we push fatal errors through the Joomla error class. in most cases that is fine. however, we should revert to the CiviCRM native error method if the JError class does not exist. this can happen for scripts run outside of the interface – such as bin scripts – which don't instantiate Joomla. see attached patch.

        Attachments

          Activity

          [CRM-9355] joomla: revert to native error display if JError class not defined
          There are no comments yet on this issue.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Brian Shaughnessy

              Dates

              • Created:
                Updated:
                Resolved: