]
Manik Surtani updated JBCACHE-1502:
-----------------------------------
Fix Version/s: 3.1.0.GA
cannot remove a node in JTA
---------------------------
Key: JBCACHE-1502
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1502
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transactions
Affects Versions: 3.0.3.GA
Environment: Windows XP, 2003 Server
Reporter: Jiayi Gu
Assignee: Manik Surtani
Fix For: 3.1.0.GA
We use the following code to remove a node. The cache is wrapped in Atomikos JTA
transaction. The code works fine in JBoss Cache 2.1. However the same code and
configuration does not work with JBoss Cache 3.0.3. "Does not work" means that
the node is not removed using "node.removeChild" method.
Node<String, T> node = (Node<String, T>)
getNode("/Workflow/Filter/Objects/"); <== node returns correctly
Fqn<String> fqn = Fqn.fromString(id + "/");
node.removeChild(fqn); <== "removeChild" method returns
false
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: