Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. 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

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: