You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/04/19 09:16:25 UTC

[jira] [Created] (WICKET-6145) Enable DeltaManager to replicate PageTable in Sessions

Martin Grigorov created WICKET-6145:
---------------------------------------

             Summary: Enable DeltaManager to replicate PageTable in Sessions
                 Key: WICKET-6145
                 URL: https://issues.apache.org/jira/browse/WICKET-6145
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.22.0, 7.2.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)