[ https://issues.apache.org/jira/browse/WICKET-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius updated WICKET-331: ----------------------------------- Affects Version/s: 1.3 Fix Version/s: (was: 2.0) 1.3 Investigate for 1.3 > Session#clear() does not work - no pages are removed from the session > --------------------------------------------------------------------- > > Key: WICKET-331 > URL: https://issues.apache.org/jira/browse/WICKET-331 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3 > Reporter: Martin Benda > Assigned To: Johan Compagner > Fix For: 1.3 > > > The method wicket.Session#clear() should remove all pages from the session > but it does not! > The bug is in wicket.PageMap: the final methods visitEntries(...) and > getEntries() assume that pages are stored as session attributes (with a name > prefixed "p:"). But the PageMap implementation which is used by default - > SecondLevelCacheSessionStore$SecondLevelCachePageMap - uses IPageStore insted > of session attributes. As a result, the inherited method visitEntries does > not visit any entry and no entry is removed from the page map when > PageMap#clear() is called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.