You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/07/11 15:13:11 UTC

[jira] [Resolved] (JCR-3992) JcrUtils.getOrCreateByPath broken by JCR-3987

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

Julian Reschke resolved JCR-3992.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.10.4

> JcrUtils.getOrCreateByPath broken by JCR-3987
> ---------------------------------------------
>
>                 Key: JCR-3992
>                 URL: https://issues.apache.org/jira/browse/JCR-3992
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.13.0
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>             Fix For: 2.10.4, 2.12.3, 2.13.1
>
>         Attachments: JCR-3992.diff
>
>
> The code introduced with OAK-3987 fails for an input of
> {noformat}
>    /rep:security/rep:authorizables/rep:groups/a/b/c
> {noformat}
> as, after discovering that
> {noformat}
>    /rep:security/rep:authorizables/rep:groups
> {noformat}
> exists, it computes a remaining path of
> {noformat}
>    /b/c
> {noformat}
> instead of
> {noformat}
>    a/b/c
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)