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

AJAX responses do not support exceptions messages

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3, 3.1.4-RC1
    • Fix Version/s: 3.1.5-RC1
    • Component/s: Other
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Marc Marc
            Reporter:
            VSE Matt Friedman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development