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

Put fatal error details in a collapsible pane

    Details

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

      Description

      A page full of DB errors (for example) can be intimidating to end-users and is not generally useful to them. The details of a fatal error are generally useful to tech support / developers etc. - so they can be collapsed until the right resource can be seen.

      1. Modify CRM_Core_Error::handler to NOT append $error to $content after fatal.tpl is fetched
      2. Modify fatal.tpl to put any populated elements of error array in a separate div and put that in collapsed accordion

        Attachments

        1. Picture 100.PNG
          83 kB
          David Greenberg
        2. Picture 99.PNG
          20 kB
          David Greenberg

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: