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

Martin Grigorov commented on WICKET-3339:
-----------------------------------------

As we discussed for stateless pages there may be no Session and therefore no 
session id and redirect_to uses a map on Application level.
The check for "is there a stored response for this url on a stateless page" 
will may fail because the session id may be different if there is no bound 
session so far.

Anyway, this is not the correct ticket to reopen. The one you need is 
WICKET-3239.

> Url interception doesn't work if the "intercepting" page is stateless
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3339
>                 URL: https://issues.apache.org/jira/browse/WICKET-3339
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC1
>
>
> wicket-examples -> authentication2 is broken.
> The problem is that trying to request Home page ("/") is not allowed for not 
> authenticated users and the security strategy intercepts the request and 
> renders Sign2 page 
> ("wicket/bookmarkable/org.apache.wicket.examples.authentication2.SignIn2") 
> and later WebPageRenderer directly renders Sign2 page in the current response 
> because this page is stateless (redirect_to_xyz is not used for stateless 
> pages).
> The final problem is that the relative urls in the page are broken because 
> they were calculated against 
> "wicket/bookmarkable/org.apache.wicket.examples.authentication2.SignIn2" but 
> the browser still uses "/".

-- 
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