Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2183

Global AJAX error handler can be improved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • webconsole-3.0.0
    • Web Console
    • None

    Description

      Currently, the global AJAX error handler shows only the error message. However, the user might provide it's own error page generation, which displays the whole cause of the error, and in this case the error will not look like
      500 Internal Server Error

      but (as example)
      500 The request failed, because parameter 'abc' is missing.

      The current code in support.js will always show '500 Internal Server Error'. It should be modified to allow display of more user-friendly messages.

      Attachments

        1. supportjs-ajax-error.patch
          0.7 kB
          Valentin Valchev

        Activity

          People

            fmeschbe Felix Meschberger
            v_valchev Valentin Valchev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: