You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/10/14 14:13:35 UTC

[jira] Resolved: (WICKET-3102) WicketTester does not handle startPage(ITestPageSource) that contains a redirect/setResponsePage correctly

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

Martin Grigorov resolved WICKET-3102.
-------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.5-M3

In constructor you should use org.apache.wicket.RestartResponseException instead of setResponsePage()+setRedirect(true);

> WicketTester does not handle startPage(ITestPageSource) that contains a redirect/setResponsePage correctly
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3102
>                 URL: https://issues.apache.org/jira/browse/WICKET-3102
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.12
>            Reporter: Michiel Leegwater
>             Fix For: 1.4.13, 1.5-M3
>
>         Attachments: IPageSourceTest2_error.zip, IPageTestSource_error.zip
>
>
> The WicketTester does not handle a call to startPage(ITestPageSource) that contains a redirect/setResponsePage correctly.

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