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

Martin Grigorov updated WICKET-4572:
------------------------------------

    Attachment: WICKET-4572.patch

Here is a patch that uses an inversed index to remove the obsolete/expired keys 
when adding a new page id.
                
> DiskDataStore returns the wrong page when the page disk space is full 
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4572
>                 URL: https://issues.apache.org/jira/browse/WICKET-4572
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.6
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Critical
>         Attachments: WICKET-4572.patch, pagecache.zip
>
>
> If the configured file size for the session data is overflowed (see 
> org.apache.wicket.settings.IStoreSettings#setMaxSizePerSession(Bytes)) then 
> Wicket may return wrong page data (bytes) for a expired page.
> The problem is in 
> org.apache.wicket.pageStore.PageWindowManager#idToWindowIndex which may have 
> several page ids (the keys) pointing to the same window index (values).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to