On Mon, 26 Nov 2007, Jason Anderson wrote:
> and the code for MockHttpServletResponse:
> 
>       public void sendRedirect(String location) throws IOException
>       {
>               // If the location starts with ../
>               if (location.startsWith("../"))
>               {
>                       // Test if the current url has a / in it. (a mount)
>                       String url = RequestCycle.get().getRequest().getURL();
> 
> 
> I really can't see any way the threadlocal can possibly live long
> enough to exist in this method.

OK, so maybe it's just that WicketTester cannot handle these
redirects.

Maybe you could create a minimal quickstart reproducing 
this, or better yet a patch with a crashing WicketTester
test, and attach it to Jira.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to