[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-974) Removing a parent node and then adding data to a child node in same tx causes endless loop
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Feb 9 08:55:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-974?page=all ]
Manik Surtani closed JBCACHE-974.
---------------------------------
Resolution: Done
Detail of the problem:
Nodes are "undeleted" if they need to be implicitly created and were marked for deletion within the same tx. This is tested by checking TransactionEntry.getRemovedNodes() to see if the node marked for removal is contained here.
This failed to deal with removing the parent but implicitly creating a child, since the getRemovedNodes() list only contained the parent when it was removed. This has now been fixed by testing that a node or any of it's parents exist in the list.
> Removing a parent node and then adding data to a child node in same tx causes endless loop
> ------------------------------------------------------------------------------------------
>
> Key: JBCACHE-974
> URL: http://jira.jboss.com/jira/browse/JBCACHE-974
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.4.1.SP1
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Priority: Critical
> Fix For: 1.4.1.SP2
>
>
--
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