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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 1.5.7, 6.0.0-beta3
    • Component/s: wicket
    • Labels:
      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 Grigorov
        2. WICKET-4572.patch
          2 kB
          Martin Grigorov

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: