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] [Created] (JCR-3757) getName() returns wrong name when called on shareable node
Date Mon, 24 Mar 2014 16:14:43 GMT
Dave Heath created JCR-3757:
-------------------------------

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


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
(v6.2#6252)

Mime
View raw message