jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Buchmann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3508) add and remove top level node in one jsop fails
Date Thu, 31 Jan 2013 11:41:13 GMT
David Buchmann created JCR-3508:

             Summary: add and remove top level node in one jsop fails
                 Key: JCR-3508
                 URL: https://issues.apache.org/jira/browse/JCR-3508
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-spi2jcr
            Reporter: David Buchmann

while writing tests for jackalope-jackrabbit, i stumbled over a problem with commiting a whole
transaction of operations. when we remove a node, then add one with the same name, then remove
it again and commit that all in one jsop, it only works if the node manipulated is not a direct
child of the root node.

in php this looks like this:

        $node = $session->getNode("/test");

        $node = $this->rootNode->addNode(test, 'nt:unstructured');


and our storage layer records all those operations and sends the corresponding jsop. it works
fine if instead of /test i do this on /my/test

this might be related with JCR-3279 as there the problem also affects only top level nodes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message