Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-412

Default error page prevents an exception being mapped to the 500 error page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.4.Final, 1.2.0.CR1
    • 1.1.3.Final
    • Servlet
    • None

    Description

      When there's a default error page configured, getErrorLocation(Throwable) will never return null so the logic added in UNDERTOW-249 never takes effect.

      The logic that Undertow uses is:

      1. See if the exception's been mapped
      2. See if there's a default error page
      3. See if 500's been mapped.

      In contrast, Tomcat's logic is:

      1. See if the exception's been mapped
      2. See if 500's been mapped
      3. See if there's a default error page

      I've seen UNDERTOW-192 and have Undertow configured with ServletStackTraces.NONE.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ankinson Andy Wilkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: