Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13771

AJAX responses do not support exceptions messages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.3, 3.1.4-RC1
    • 3.1.5-RC1
    • Other
    • None

    Description

      The updated http_exception and runtime_exception classes added in 3.1.3 do not fully support AJAX responses.

      When an exception is thrown in during an AJAX process, the response displays to the user an error message based on the status code.

      The custom message string, if supplied in the thrown http/runtime_exception should be displayed to the user in the AJAX error window.

      This allows extensions, for example, using AJAX to provide meaningful error messages to users besides simply "Forbidden" or "Internal server error" just as we already can do for non-AJAX based exceptions.

      Attachments

        Activity

          People

            Marc Marc
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: