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

Enable DeltaManager to replicate PageTable in Sessions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.2.0, 6.22.0
    • 7.3.0, 8.0.0-M1, 6.23.0
    • wicket
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: