jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-313) Trailing slash not removed for simple path in JCR to Oak path conversion
Date Wed, 19 Sep 2012 11:10:07 GMT

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

Michael Dürig resolved OAK-313.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5

Fixed at revision 1387524.
Thanks Chetan for the patch
                
> Trailing slash not removed for simple path in JCR to Oak path conversion
> ------------------------------------------------------------------------
>
>                 Key: OAK-313
>                 URL: https://issues.apache.org/jira/browse/OAK-313
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 0.5
>            Reporter: Chetan Mehrotra
>            Assignee: Michael Dürig
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: OAK-313.patch
>
>
> While converting from JCR path to Oak path the trailing slashes are not removed for simple
paths. They are removed for complex path
> {code}
> assertEquals("/oak-foo:bar/oak-quu:qux",npMapper.getOakPath("/foo:bar/quu:qux/"));
> assertEquals("/a/b/c",npMapper.getOakPath("/a/b/c/"));
>     }
> {code}
> Of the two cases above the first one passes while the second one fails

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

Mime
View raw message