jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Heath (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3757) getName() returns wrong name when called on shareable node
Date Mon, 24 Mar 2014 16:18:48 GMT

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

Dave Heath updated JCR-3757:

    Attachment: Test_JCR3757.java

> getName() returns wrong name when called on shareable node
> ----------------------------------------------------------
>                 Key: JCR-3757
>                 URL: https://issues.apache.org/jira/browse/JCR-3757
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Dave Heath
>            Priority: Minor
>         Attachments: Test_JCR3757.java
> When a shareable nt:folder node is added and shared under another nt:folder node with
a different name, the newly shared node returns the correct getPath() but getName() returns
the original node name.
> For example, node /a1 is shared under /b1 as a new node named 'a2', so calling getPath
on the node returned by b1.getNode("a2") returns '/b1/a2' but calling getName on the same
node returns 'a1'.
> See the attached test case for an example of this behavior.

This message was sent by Atlassian JIRA

View raw message