[ 
https://issues.apache.org/jira/browse/WICKET-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903577#action_12903577
 ] 

Juergen Donnerstag commented on WICKET-3022:
--------------------------------------------

Locally I changed processRequest() to processRequest(boolean) and used the flag 
to enable/disable exception handling. By default it is false. WicketTester uses 
the existing flag BaseWicketTester.exposeException. This way everything remains 
where it is. And it can easily be enabled and disabled for testing.

> All exceptions are handled by RequestCycle and no longer "visible" to 
> WicketTester
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-3022
>                 URL: https://issues.apache.org/jira/browse/WICKET-3022
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Juergen Donnerstag
>            Assignee: Juergen Donnerstag
>
> Exceptions during render will no longer be detected by WicketTester, since 
> RequestCycle handles them all. Which is ok for normal processing, but bad for 
> WicketTester. We somehow need to make WicketTester aware of thrown exceptions.

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

Reply via email to