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

Rework page and data storage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.0.0-M1
    • Fix Version/s: 9.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      IPageManager, IPageStore and IDataStore are riddled with complicated and error-prone code aiming to do one simple thing: keeping pages around.

      There are multiple problems with the current implementation:

      • PageStoreManger does too much 
        • it handles request and session storage
        • it contains workarounds for DiskDataStore, when the sessionId changes
      • IPageStore/AbstractPageStore
        • has no access to IPageManagerContext
        • juggles with byte[], serialization and conversion
      • IDataStore introduces an unncecessary third layer into the API

      Additional or specialized stores are difficult to implement.

      We should rework that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svenmeier Sven Meier
                Reporter:
                svenmeier Sven Meier
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: