Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4572

DiskDataStore returns the wrong page when the page disk space is full

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.5.6
    • 1.5.7, 6.0.0-beta3
    • wicket
    • None

    Description

      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).

      Attachments

        1. pagecache.zip
          25 kB
          Martin Tzvetanov Grigorov
        2. WICKET-4572.patch
          2 kB
          Martin Tzvetanov Grigorov

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: