<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 2.1 Path.toDisplayPath() bug or feature?? :) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/2-1-path-todisplaypath-bug-or-feature/m-p/133894#M94018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I crazy or has something changed in toDisplayPath() within the Path class between 2.0 and 2.1.&amp;nbsp; Below is my example/issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a noderef with the following path:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;spaceA-&amp;gt;spaceB-&amp;gt;spaceC&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;in 2.0 toDisplayPath() on noderef for spaceC would return:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;spaceA/spaceB/spaceC&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;in 2.1 it is not including the name of the current noderef, it returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;spaceA/spaceB&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;To get the full display path in 2.1, I have changed all my code with the upgrade to call &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;toDisplayPath()+"/"+Name_of_current_node&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just want to verify if this was a bug or intentional.&amp;nbsp; I have done quite a bit of testing around this trying to verify the issue, you should easilly be able to duplicate it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2007 19:09:23 GMT</pubDate>
    <dc:creator>nyronian</dc:creator>
    <dc:date>2007-08-31T19:09:23Z</dc:date>
    <item>
      <title>2.1 Path.toDisplayPath() bug or feature?? :)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-1-path-todisplaypath-bug-or-feature/m-p/133894#M94018</link>
      <description>Am I crazy or has something changed in toDisplayPath() within the Path class between 2.0 and 2.1.&amp;nbsp; Below is my example/issue:I have a noderef with the following path:spaceA-&amp;gt;spaceB-&amp;gt;spaceC‍in 2.0 toDisplayPath() on noderef for spaceC would return:spaceA/spaceB/spaceC‍in 2.1 it is not including</description>
      <pubDate>Fri, 31 Aug 2007 19:09:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-1-path-todisplaypath-bug-or-feature/m-p/133894#M94018</guid>
      <dc:creator>nyronian</dc:creator>
      <dc:date>2007-08-31T19:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: 2.1 Path.toDisplayPath() bug or feature?? :)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-1-path-todisplaypath-bug-or-feature/m-p/133895#M94019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not intentional, so it's probably a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do the different toString() methods reveal?&amp;nbsp; In other words, it it the code that constructed the Path object that is at fault or the code that generates the name path.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 14:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-1-path-todisplaypath-bug-or-feature/m-p/133895#M94019</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2007-09-05T14:21:02Z</dc:date>
    </item>
  </channel>
</rss>

