Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3053 Improve error reporting and logging
  3. MYFACES-3224

Unify handling of errors in development project stage

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • General
    • None

    Description

      In development stage if exception occurs (in render response)

      1) HTML request + response not committed -> error page displayed
      2) HTML request + response committed: -> "Response already committed " error in console + error page rendered as part or original view
      3) AJAX request + response not committed -> <error> in XML response, javascript alert displayed
      4) AJAX request + response committed -> Response already committed " error in console

      Goal:

      Provide same handling for all those cases. Ideally use same way as in 1) - error page. The 3) solution in development mode is useless - coder have to check XML response or/and console.

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: