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/12/27 16:03:49 UTC

[jira] Commented: (WICKET-1973) Messages lost upon session failover with redirect_to_buffer

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

Martin Grigorov commented on WICKET-1973:
-----------------------------------------

I think this issue is still relevant for Wicket 1.5.
The buffered responses (only for stateful pages) are stored in the Application and thus are not replicated to the other nodes.

Recently we had discussion about this behavior when trying to store the buffered response for stateless pages (see WICKET-3239).
If I don't miss something important then I think the storage for buffered responses for stateful pages can be moved to the user's Session.
Currently the storing for stateless pages is disabled by default but if someone needs this functionality then the storage for them should be in Application.

> Messages lost upon session failover with redirect_to_buffer
> -----------------------------------------------------------
>
>                 Key: WICKET-1973
>                 URL: https://issues.apache.org/jira/browse/WICKET-1973
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC1
>            Reporter: Erik van Oosten
>
> Using the redirect_to_buffer render strategy, messages in the session get cleared after the render.
> If the redirected request comes in at another node, the buffer is not found and the page is re-rendered. In this case the messages are no longer available.
> See the javadoc of WebApplication#popBufferedResponse(String,String).

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