jackrabbit-dev 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] (JCR-3465) JcrUtils.getOrCreateByPath() creates a whole subtree instead of a single branch
Date Tue, 02 Apr 2013 12:51:15 GMT

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

Michael Dürig resolved JCR-3465.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7
         Assignee: Michael Dürig

Fixed at revision 1463510. Applied slightly edited version of the patch.
                
> JcrUtils.getOrCreateByPath() creates a whole subtree instead of a single branch
> -------------------------------------------------------------------------------
>
>                 Key: JCR-3465
>                 URL: https://issues.apache.org/jira/browse/JCR-3465
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Minor
>             Fix For: 2.7
>
>         Attachments: JCR-3465
>
>
> Given a leaf node n,
> JcrUtils.getOrCreateByPath(n, "a/b/../../c/d/../../e/f", false, null, null, true);
> will result in paths a/b, c/d and e/f being added to n where I'd only expect the path
e/f.

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