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

Andrea Del Bene commented on WICKET-5643:
-----------------------------------------

I didn't check if 6.x is affected as well...

> storeBufferedResponse should check if session is temporary.
> -----------------------------------------------------------
>
>                 Key: WICKET-5643
>                 URL: https://issues.apache.org/jira/browse/WICKET-5643
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 7.0.0-M2
>            Reporter: Andrea Del Bene
>            Assignee: Andrea Del Bene
>
> WebApplication.storeBufferedResponse does not check if sessionId is null. 
> This could lead to wrong behaviors as it happens  in the quickstart project. 
> Let's say we have a stateless home page with page parameters that are 
> populated inside page constructor. Under these conditions class 
> WebPageRenderer will call storeBufferedResponse and will redirect the 
> response to the final URL (line 289). But as the session is temporary, the 
> buffered response is not consumed and  WebPageRenderer will rise a warning 
> (line 194).
> I think we should check for null sessionId inside WebApplication or inside 
> WebPageRender.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to