Details
-
Bug
-
Resolution: Done
-
Major
-
2.2.1.GA
-
None
Description
This code does not work
Node root = session.getRootNode();
Node old = root.addNode("oldname", "nt:folder");
session.save();
session.move("/oldname", "/newname1");
session.save();
The second save throws an exception
javax.jcr.InvalidItemStateException: Unable to find "/{}newname1"; lowest existing path is "/"
at org.modeshape.jcr.SessionCache.save(SessionCache.java:410)
at org.modeshape.jcr.JcrSession.save(JcrSession.java:1397)
The 'oldname' directory exists on the disk.
The issue appeared after resolution of SOA-2408