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

Not all exceptions are properly handled by the WicketFilter -> results in empty response document with unset status code -> seen as HTTP_OK by client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.7
    • 1.4.11, 1.5-M2.1
    • wicket
    • None

    Description

      Our custom ResourceStreamLocator might throw RuntimeExceptions.
      When doing so, the exception handling of the WicketFilter doesnt properly handle this situation and creates an empty document with unset response code, which is usually sent to the client as HTTP_OK.

      quickstart follows.

      Attachments

        1. wicket2794.zip
          9 kB
          Christian Oldiges

        Activity

          People

            ivaynberg Igor Vaynberg
            coldiges Christian Oldiges
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: