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

FileSystemConnector does not correctly handle projections to root

XMLWordPrintable

      Subject for issue:

      Node root = session.getNode("/fs");
      Node folder1 = root.addNode("test", "nt:folder");
      System.out.println(folder1.getIdentifier());
      session.save();
      Node folder2 = root.getNode("test");
      System.out.println(folder2.getIdentifier());
      

      Result:

      94dd693eaa9871//test
      94dd693eaa9871/test

      Execution of issue code on current state of project:

      Caused by: java.lang.NullPointerException
      	at org.modeshape.connector.filesystem.FileSystemConnector.idFor(FileSystemConnector.java:308)
      	at org.modeshape.connector.filesystem.FileSystemConnector.updateDocument(FileSystemConnector.java:557)
      

              hchiorean Horia Chiorean (Inactive)
              vasilievip_jira Ivan Vasyliev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: