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:56:01 UTC

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

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


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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-3520:
------------------------------------

    Fix Version/s: 1.5-RC5

> 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
>             Fix For: 1.5-RC5
>
>         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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3520.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.18
         Assignee: Martin Grigorov

Fixed in 1.4.x with r1127094.

> 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
>            Assignee: Martin Grigorov
>             Fix For: 1.4.18, 1.5-RC5
>
>         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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038575#comment-13038575 ] 

Martin Grigorov commented on WICKET-3520:
-----------------------------------------

Fixed in 1.5 with r1127064.

> 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

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

Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
     [ 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