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

Enable DeltaManager to replicate PageTable in Sessions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.0, 6.22.0
    • Fix Version/s: 7.3.0, 8.0.0-M1, 6.23.0
    • Component/s: wicket
    • Labels:
      None

      Description

      When using Tomcats o.a.c.h.t.SimpleTCPCluster to replicate Sessions in a Tomcat cluster the o.a.c.h.s.DeltaSession is the default implementation which handles session replication
      Unfortunately, to calculate its deltas, it assumes that session attributes are only modified by calling accessor methods (i.e. DeltaSession.setAttribute(n,v))
      Modifying an existing Object (e.g. wicket's PageTable) in place of the current session, would not trigger a delta replication
      To make Wicket work with SimpleTCPCluster and DeltaSessions, we will always rewrite the PageTable into Session by calling setAttribute

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: