[
https://issues.apache.org/jira/browse/WICKET-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eelco Hillenius resolved WICKET-784.
------------------------------------
Resolution: Fixed
Checked Session#bind and you can call it multiple times without troubles. We
may reconsider for 1.4, but asking clients to call bind explicitly (rather than
dirty) seems good enough.
> Session.dirty() does not cause an unbound session to bind.
> ----------------------------------------------------------
>
> Key: WICKET-784
> URL: https://issues.apache.org/jira/browse/WICKET-784
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta2
> Reporter: Spencer Crissman
> Assignee: Eelco Hillenius
> Priority: Minor
> Fix For: 1.3.0-beta3
>
>
> If a subclass of WebSession calls dirty(), the session will not be stored
> unless it has previously been bound. Users must call bind() explicitly on
> the session if the application is otherwise stateless, or else the change
> being flagged by dirty() will not be persisted (a new session will be
> generated for the next request).
> The expected behavior is that when flagged as dirty() the session would cause
> itself to bind, if it wasn't already doing so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.