[ 
https://issues.apache.org/jira/browse/OAK-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela updated OAK-369:
-----------------------

    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):

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

{code}

  was:
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()));
    }

    
> missing support for relative path consisting of parent-element
> --------------------------------------------------------------
>
>                 Key: OAK-369
>                 URL: https://issues.apache.org/jira/browse/OAK-369
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: angela
>            Priority: Minor
>
> 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):
> {code}
> @Test
>     public void getNode3() throws RepositoryException {
>         Node node = getNode("/foo");
>         Node root = node.getNode("..");
>         assertNotNull(root);
>         assertEquals("", root.getName());
>         assertTrue("/".equals(root.getPath()));
>     }
> :
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to