[
http://jira.jboss.com/jira/browse/JBCACHE-1060?page=comments#action_12362647 ]
Galder Zamarreno commented on JBCACHE-1060:
-------------------------------------------
If a node was selected in the GUI and the node was removed,
the tutorial did an implicit creation of the node again, as part of
updating the state of that node.
Tutorial - removing a child node from the root still leaves the node
in memory
------------------------------------------------------------------------------
Key: JBCACHE-1060
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1060
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Galder Zamarreno
Assigned To: Galder Zamarreno
Priority: Minor
Fix For: 2.0.0.CR2
I have reproduced an issue via the tutorial but I'm not sure whether it's a
tutorial or cache issue yet.
Making a note of the steps so that I can come back to it later.
1st GUI:
bsh % childFqn2 = Fqn.fromString("/child2");
</child2>
bsh % childFqn3 = Fqn.fromString("/child2/child3");
</child2/child3>
bsh % child2 = root.addChild(childFqn2);
<UnversionedNode[ /child2 data=[]]>
bsh % child3 = root.addChild(childFqn3);
<UnversionedNode[ /child2/child3 data=[]]>
2nd GUI:
bsh % childFqn2 = Fqn.fromString("/child2");
</child2>
bsh % child2 = root.getChild(childFqn2);
<UnversionedNode[ /child2 data=[] child=[UnversionedNode[ /child2/child3
data=[]]]]>
bsh % child2.put("key3", "value3");
<null>
- Click on child2 in the 2nd GUI
bsh % child2.clearData();
1st GUI:
bsh % child2.put("key3", "value3");
<null>
bsh % root.removeChild(childFqn2);
<true>
child2 node is still in memory which shouldn't.
--
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