Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1010

FileSystemConnector does not process rename node properly after commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0.Final, 2.2.1.GA
    • 2.2.1.GA
    • API, Server
    • None

      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

              bcarothers_jira Brian Carothers (Inactive)
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: