[ https://issues.apache.org/jira/browse/WICKET-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner closed WICKET-519. ---------------------------------- Resolution: Fixed Pages are now removed from disk also (if you do PageMap.clear/remove then all the pages or Pagemap.remove(Page) then only that page. > remove page versions from the second level cache when explicitly removed > ------------------------------------------------------------------------ > > Key: WICKET-519 > URL: https://issues.apache.org/jira/browse/WICKET-519 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: trunk > Reporter: Eelco Hillenius > Assignee: Johan Compagner > Fix For: 1.3.0-rc1 > > > Someone at Matej's session had an interesting question about how pages can be > removed from the history when you explictly want to avoid users being able to > go back to that version (i.e. expire them). Removing the page from the page > map works fine with the HttpSessionStore, but doesn't with > SecondLevelCacheSessionStore by the looks of it; FilePageStore#removePage > just removes from pending but once it is serialized to disk, it will always > be availalbe. I think this is wrong. An explicit call to PageMap#remove(Page) > should remove it from second level cache so that it is in effect expired. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.