Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-369

missing support for relative path consisting of parent-element

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: jcr
    • Labels:
      None

      Description

      could not reopen OAK-95 -> cloning.
      during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):

      @Test
          public void getNode3() throws RepositoryException {
              Node node = getNode("/foo");
              Node root = node.getNode("..");
              assertNotNull(root);
              assertEquals("", root.getName());
              assertTrue("/".equals(root.getPath()));
          }
      :
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mduerig Michael Dürig
                Reporter:
                angela Angela Schreiber
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: