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)

Reply via email to