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->remove();
$node = $this->rootNode->addNode(test, 'nt:unstructured');
$node->remove();
$session->save();
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