Using Apache Jackrabbit, I created two nodes in exactly the same path
root.addNode("hello");
I fully expected the second addition to throw an ItemExistsException as described here , but it is not.
When I print out the path to the nodes to try to see what happens, I see /hello for the first node and /hello[2] for the second node
Also, when I delete the node, the test that checks for the existence of the node passes before I save the session, but after saving the session, the second test of the same condition failed
session.getNode("/hello").remove(); assertFalse(session.nodeExists("/hello")); session.save(); assertFalse(session.nodeExists("/hello"));
What's going on here? Is this a bug or some kind of Jackrabbit feature that is different from the spec?
source share