Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3520

SHOW_NO_EXCEPTION_PAGE responding with HTTP status 500 is overwritten by redirect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.16
    • 1.4.18, 1.5-RC5
    • wicket
    • None

    Description

      If the application is configured with SHOW_NO_EXCEPTION_PAGE as unexpectedExceptionDisplay, an exception thrown while submitting a form should result in an HTTP 500 status.
      Since the request is already marked as a redirect in AbstractListenerInterfaceRequestTarget#onProcessEvents(), the 500 status is overwritten with status 200 when the redirect is handled afterwards.

      Attachments

        1. SHOW_NO_EXCEPTION_PAGE.zip
          11 kB
          Sven Meier

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: