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 2013/06/20 13:12:21 UTC

[jira] [Resolved] (WICKET-5165) Session should be bound when adding messages to it

     [ https://issues.apache.org/jira/browse/WICKET-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5165.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0
                   6.9.0

Fixed by checking for session feedback messages before making a redirect.
                
> Session should be bound when adding messages to it
> --------------------------------------------------
>
>                 Key: WICKET-5165
>                 URL: https://issues.apache.org/jira/browse/WICKET-5165
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.7.0
>            Reporter: Bertrand Guay-Paquet
>            Assignee: Martin Grigorov
>              Labels: session
>             Fix For: 6.9.0, 7.0.0
>
>
> When using the Sessions info(), error() and success() methods, and the session is temporary, the messages can be dropped silently. This happens when on stateless pages and a redirect happens in the same request during which a session message is added.
> The fix for this could be to make sure the session is bound and call Session#bind() automatically when a session message is added.
> Email thread:
> http://wicket-users.markmail.org/thread/zd72s4gwnlp5d7ch

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira