AnsweredAssumed Answered

2.1 Path.toDisplayPath() bug or feature?? :)

Question asked by nyronian on Aug 31, 2007
Latest reply on Sep 5, 2007 by derek
Am I crazy or has something changed in toDisplayPath() within the Path class between 2.0 and 2.1.  Below is my example/issue:

I have a noderef with the following path:
spaceA->spaceB->spaceC

in 2.0 toDisplayPath() on noderef for spaceC would return:
spaceA/spaceB/spaceC

in 2.1 it is not including the name of the current noderef, it returns:
spaceA/spaceB

To get the full display path in 2.1, I have changed all my code with the upgrade to call
toDisplayPath()+"/"+Name_of_current_node

Just want to verify if this was a bug or intentional.  I have done quite a bit of testing around this trying to verify the issue, you should easilly be able to duplicate it.

Outcomes