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

Sven Meier commented on WICKET-6847:
------------------------------------

On branch  WICKET-6847-onEndRequest-before-flush RequestCycle now calls 
#onEndRequest() from processRequest() instead onDetach().

This allows listeners to do things before flush, which itself is an improvement.

Furthermore IPageManager/IPageStore/RequestPageStore can add a sessions cookie 
as late as possible but *before* flush.

> async page storing fails with flush before detach without session
> -----------------------------------------------------------------
>
>                 Key: WICKET-6847
>                 URL: https://issues.apache.org/jira/browse/WICKET-6847
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 9.1.0
>            Reporter: Sven Meier
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>             Fix For: 9.2.0
>
>
> Since WICKET-6831 the response is flushed before detach.
> RequestPageStore delays storing all of stateful pages until detach; at that 
> moment  AsynchronousPageStore can no longer acquire the required session id.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to