I'm getting an exception on session.save() after session.move().

Here's some pseudo code just to verify that my approach is correct.

oldNode = session.getNode("/a/b");

session.move( oldNode.getPath(), "/a/c" );

newNode = session.getNode( "/a/c" );

session.save()


The save throws javax.jcr.PathNotFoundException on the path "/a/b",
which is the old node.

Should this work?

Reply via email to