[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1481) Re-adding a node deleted via parent inside transaction breaks the parent

Krzysztof Sobolewski (JIRA) jira-events at lists.jboss.org
Wed Feb 18 11:41:45 EST 2009


Re-adding a node deleted via parent inside transaction breaks the parent
------------------------------------------------------------------------

                 Key: JBCACHE-1481
                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1481
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.3.GA
            Reporter: Krzysztof Sobolewski
            Assignee: Manik Surtani
         Attachments: ReAddDeletedNodeTest.java

The scenario:

0. Start a transaction
1. Add a node under /a/a/a for example
2. Delete /a/a (the node's parent)
3. Add the node again
4. getNode(/a/a) now returns null [the DELETED flag is still set]

I'll attach a test case soon. And I'd like to note that that test actually exhibits more problems:

4a. getNode(/a/a/a) returns node as expected

5. Commit transaction

6a. getNode(/a/a/a) returns null (!!)
6b. getNode(/a/a) still returns null


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list