You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2011/03/09 16:57:59 UTC

[jira] Updated: (WICKET-3520) SHOW_NO_EXCEPTION_PAGE responding with HTTP status 500 is overwritten by redirect

     [ https://issues.apache.org/jira/browse/WICKET-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier updated WICKET-3520:
-------------------------------

    Attachment: SHOW_NO_EXCEPTION_PAGE.zip

Quickstart showing the problem.

> SHOW_NO_EXCEPTION_PAGE responding with HTTP status 500 is overwritten by redirect
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-3520
>                 URL: https://issues.apache.org/jira/browse/WICKET-3520
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.16
>            Reporter: Sven Meier
>         Attachments: SHOW_NO_EXCEPTION_PAGE.zip
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira