[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1016) Changes in Serializable objects are never replicated
Jason T. Greene (JIRA)
jira-events at lists.jboss.org
Fri Sep 14 18:14:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1016?page=all ]
Jason T. Greene updated JBCACHE-1016:
-------------------------------------
Fix Version/s: 1.4.1.SP5
> Changes in Serializable objects are never replicated
> ----------------------------------------------------
>
> Key: JBCACHE-1016
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1016
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: PojoCache
> Affects Versions: 1.4.1.SP3
> Environment: Windows XP, jdk1.5.0_06
> Reporter: Jacek Halat
> Assigned To: Jason T. Greene
> Fix For: 1.4.1.SP5
>
> Attachments: PojoCacheSerializableTest.zip
>
>
> Assume that we have Serializable object stored in PojoCache. (using putObject() method)
> If you get object from cache (using getObject() method), modify any field (non-transient) in object and store again object under this same node, changes made in obejct would be never replicated to another cache instances in cluster.
> Probably in method TreeCacheAopDelegate._putObject() has incorrect condition:
> if(oldValue == obj) return obj; // value already in cache. return right away.
> If obj was loaded from cache, this condition is always true and changes made in object would never be replicated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list