You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/04/12 23:46:05 UTC

[jira] Assigned: (WICKET-1418) org.apache.wicket.MarkupContainer swallows AbortException

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

Igor Vaynberg reassigned WICKET-1418:
-------------------------------------

    Assignee: Maurice Marrink  (was: Igor Vaynberg)

feel free to apply this. like i said it is fine by me. and i guess no one was really against it on the list.

> org.apache.wicket.MarkupContainer swallows AbortException
> ---------------------------------------------------------
>
>                 Key: WICKET-1418
>                 URL: https://issues.apache.org/jira/browse/WICKET-1418
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Peter Ertl
>            Assignee: Maurice Marrink
>         Attachments: bugtest.zip, wicket-1418-pertl.patch, wicket-patch, wicket133.patch
>
>
> MarkupContainer#onBeforeRenderChildren() will catch exceptions of type org.apache.wicket.AbortException and remap them to a WicketRuntimeException. This is obviously wrong.
> For example when throwing a RestartResponseException the exception will be remapped to WicketRuntimeException and the response will not be restarted but the error page will be shown.
> I attached a usecase to demonstrate this bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.