<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>fullpathbreadcrumb Issue Tracker Rss Feed</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/list/basic</link><description>fullpathbreadcrumb Issue Tracker Rss Description</description><item><title>Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055]</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/1055</link><description>First of all, thanks for this project&amp;#33; It&amp;#39;s exactly what I was looking for. After building and deploying to a test site, I wasn&amp;#39;t getting any breadcrumbs at all. Upon debugging, I discovered that it was throwing an exception on the nodes.Add line. The nodeFolder.Url for any given folder is in the format &amp;#34;&amp;#47;Lists&amp;#47;&amp;#60;ListName&amp;#62;&amp;#47;&amp;#60;Folder1&amp;#62;&amp;#47;&amp;#60;Folder2&amp;#62;&amp;#47;&amp;#60;etc&amp;#62;&amp;#34;. I noticed that when this loop gets to the root folder, it&amp;#39;s not enough to check to see if nodeFolder.ParentFolder.Url is null or empty, since it treats &amp;#47;Lists like a folder. Therefore, nodeFolder gets assigned the &amp;#34;&amp;#47;Lists&amp;#34; folder, which doesn&amp;#39;t have DocumentLibrary associated and ends up throwing out of reference exceptions.&lt;br /&gt;&lt;br /&gt;I modified the code slightly and it&amp;#39;s working well so far. Here&amp;#39;s what I&amp;#39;m using&amp;#58;&lt;br /&gt;&lt;br /&gt;Guid rootFolderId &amp;#61; folder.DocumentLibrary.RootFolder.UniqueId&amp;#59;&lt;br /&gt;            while &amp;#40;nodeFolder &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                nodes.Add&amp;#40;new BreadcrumbNodeData &amp;#123; Title &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; nodeFolder.DocumentLibrary.Title &amp;#58; nodeFolder.Name, Url &amp;#61; nodeFolder.ServerRelativeUrl &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;                nodeFolder &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; null &amp;#58; nodeFolder.ParentFolder&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;Hop this helps.&lt;br /&gt;Comments: ** Comment from web user: AlexBoev ** &lt;p&gt;&amp;#64;ronx&amp;#58; thanks a lot again for clarification. I didn&amp;#39;t know there&amp;#39;re the cases when the library is in the &amp;#34;lists&amp;#34; folder too. But I think my solution should work in this case - it simply ignores Lists folder. I can&amp;#39;t reproduce this case so write me please if it doesn&amp;#39;t work - I&amp;#39;ll try to adopt your solution then.&lt;/p&gt;</description><author>AlexBoev</author><pubDate>Sun, 15 Jul 2012 11:56:12 GMT</pubDate><guid isPermaLink="false">Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055] 20120715115612A</guid></item><item><title>Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055]</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/1055</link><description>First of all, thanks for this project&amp;#33; It&amp;#39;s exactly what I was looking for. After building and deploying to a test site, I wasn&amp;#39;t getting any breadcrumbs at all. Upon debugging, I discovered that it was throwing an exception on the nodes.Add line. The nodeFolder.Url for any given folder is in the format &amp;#34;&amp;#47;Lists&amp;#47;&amp;#60;ListName&amp;#62;&amp;#47;&amp;#60;Folder1&amp;#62;&amp;#47;&amp;#60;Folder2&amp;#62;&amp;#47;&amp;#60;etc&amp;#62;&amp;#34;. I noticed that when this loop gets to the root folder, it&amp;#39;s not enough to check to see if nodeFolder.ParentFolder.Url is null or empty, since it treats &amp;#47;Lists like a folder. Therefore, nodeFolder gets assigned the &amp;#34;&amp;#47;Lists&amp;#34; folder, which doesn&amp;#39;t have DocumentLibrary associated and ends up throwing out of reference exceptions.&lt;br /&gt;&lt;br /&gt;I modified the code slightly and it&amp;#39;s working well so far. Here&amp;#39;s what I&amp;#39;m using&amp;#58;&lt;br /&gt;&lt;br /&gt;Guid rootFolderId &amp;#61; folder.DocumentLibrary.RootFolder.UniqueId&amp;#59;&lt;br /&gt;            while &amp;#40;nodeFolder &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                nodes.Add&amp;#40;new BreadcrumbNodeData &amp;#123; Title &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; nodeFolder.DocumentLibrary.Title &amp;#58; nodeFolder.Name, Url &amp;#61; nodeFolder.ServerRelativeUrl &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;                nodeFolder &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; null &amp;#58; nodeFolder.ParentFolder&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;Hop this helps.&lt;br /&gt;Comments: ** Comment from web user: ronx ** &lt;p&gt;I&amp;#39;ll take a look at your updated code. I was referring to Document Libraries, though, which by default may contain folders. Keep in mind that Document Libraries may indeed have additional levels of folders, depending on how they were created. For example, the default in SP2007 was for document libraries to be created under the Lists folder. I had a custom solution for 2007 that defined some lists declaratively. When I reworked the solution for 2010, I left the Document Library paths the same, so they were created under the &amp;#47;Lists&amp;#47; folder. Other folks may have similar organizational needs. For this reason, I think it is a good idea to check the current folder ID against the RootFolder ID when walking up the hierarchy.&lt;/p&gt;</description><author>ronx</author><pubDate>Thu, 12 Jul 2012 13:19:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055] 20120712011922P</guid></item><item><title>Closed Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055]</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/1055</link><description>First of all, thanks for this project&amp;#33; It&amp;#39;s exactly what I was looking for. After building and deploying to a test site, I wasn&amp;#39;t getting any breadcrumbs at all. Upon debugging, I discovered that it was throwing an exception on the nodes.Add line. The nodeFolder.Url for any given folder is in the format &amp;#34;&amp;#47;Lists&amp;#47;&amp;#60;ListName&amp;#62;&amp;#47;&amp;#60;Folder1&amp;#62;&amp;#47;&amp;#60;Folder2&amp;#62;&amp;#47;&amp;#60;etc&amp;#62;&amp;#34;. I noticed that when this loop gets to the root folder, it&amp;#39;s not enough to check to see if nodeFolder.ParentFolder.Url is null or empty, since it treats &amp;#47;Lists like a folder. Therefore, nodeFolder gets assigned the &amp;#34;&amp;#47;Lists&amp;#34; folder, which doesn&amp;#39;t have DocumentLibrary associated and ends up throwing out of reference exceptions.&lt;br /&gt;&lt;br /&gt;I modified the code slightly and it&amp;#39;s working well so far. Here&amp;#39;s what I&amp;#39;m using&amp;#58;&lt;br /&gt;&lt;br /&gt;Guid rootFolderId &amp;#61; folder.DocumentLibrary.RootFolder.UniqueId&amp;#59;&lt;br /&gt;            while &amp;#40;nodeFolder &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                nodes.Add&amp;#40;new BreadcrumbNodeData &amp;#123; Title &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; nodeFolder.DocumentLibrary.Title &amp;#58; nodeFolder.Name, Url &amp;#61; nodeFolder.ServerRelativeUrl &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;                nodeFolder &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; null &amp;#58; nodeFolder.ParentFolder&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;Hop this helps.&lt;br /&gt;Comments: &lt;p&gt;Thank you very much for the useful feedback&amp;#33; I&amp;#39;m glad my little project has some value for others. &lt;/p&gt;&lt;p&gt;The problem was that the folders-enabled lists wasn&amp;#39;t supported - only the document libraries, look at the project title. &amp;#58;&amp;#41; So there&amp;#39;s the difference in the folder structure for the document library and for the list with folders - there&amp;#39;s no additional level of folders in library like &amp;#34;Lists&amp;#34; - they are placed in the root folder of the SPWeb. I&amp;#39;ve updated the solution to support both types now. See the downloads section if you prefer to use my version.&lt;/p&gt;</description><author>AlexBoev</author><pubDate>Wed, 11 Jul 2012 12:14:55 GMT</pubDate><guid isPermaLink="false">Closed Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055] 20120711121455P</guid></item><item><title>Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055]</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/1055</link><description>First of all, thanks for this project&amp;#33; It&amp;#39;s exactly what I was looking for. After building and deploying to a test site, I wasn&amp;#39;t getting any breadcrumbs at all. Upon debugging, I discovered that it was throwing an exception on the nodes.Add line. The nodeFolder.Url for any given folder is in the format &amp;#34;&amp;#47;Lists&amp;#47;&amp;#60;ListName&amp;#62;&amp;#47;&amp;#60;Folder1&amp;#62;&amp;#47;&amp;#60;Folder2&amp;#62;&amp;#47;&amp;#60;etc&amp;#62;&amp;#34;. I noticed that when this loop gets to the root folder, it&amp;#39;s not enough to check to see if nodeFolder.ParentFolder.Url is null or empty, since it treats &amp;#47;Lists like a folder. Therefore, nodeFolder gets assigned the &amp;#34;&amp;#47;Lists&amp;#34; folder, which doesn&amp;#39;t have DocumentLibrary associated and ends up throwing out of reference exceptions.&lt;br /&gt;&lt;br /&gt;I modified the code slightly and it&amp;#39;s working well so far. Here&amp;#39;s what I&amp;#39;m using&amp;#58;&lt;br /&gt;&lt;br /&gt;Guid rootFolderId &amp;#61; folder.DocumentLibrary.RootFolder.UniqueId&amp;#59;&lt;br /&gt;            while &amp;#40;nodeFolder &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                nodes.Add&amp;#40;new BreadcrumbNodeData &amp;#123; Title &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; nodeFolder.DocumentLibrary.Title &amp;#58; nodeFolder.Name, Url &amp;#61; nodeFolder.ServerRelativeUrl &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;                nodeFolder &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; null &amp;#58; nodeFolder.ParentFolder&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;Hop this helps.&lt;br /&gt;Comments: ** Comment from web user: AlexBoev ** &lt;p&gt;Thank you very much for the useful feedback&amp;#33; I&amp;#39;m glad my little project has some value for others. &lt;/p&gt;&lt;p&gt;The problem was that the folders-enabled lists wasn&amp;#39;t supported - only the document libraries, look at the project title. &amp;#58;&amp;#41; So there&amp;#39;s the difference in the folder structure for the document library and for the list with folders - there&amp;#39;s no additional level of folders in library like &amp;#34;Lists&amp;#34; - they are placed in the root folder of the SPWeb. I&amp;#39;ve updated the solution to support both types now. See the downloads section if you prefer to use my version.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>AlexBoev</author><pubDate>Wed, 11 Jul 2012 12:10:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055] 20120711121050P</guid></item><item><title>Created Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055]</title><link>http://fullpathbreadcrumb.codeplex.com/workitem/1055</link><description>First of all, thanks for this project&amp;#33; It&amp;#39;s exactly what I was looking for. After building and deploying to a test site, I wasn&amp;#39;t getting any breadcrumbs at all. Upon debugging, I discovered that it was throwing an exception on the nodes.Add line. The nodeFolder.Url for any given folder is in the format &amp;#34;&amp;#47;Lists&amp;#47;&amp;#60;ListName&amp;#62;&amp;#47;&amp;#60;Folder1&amp;#62;&amp;#47;&amp;#60;Folder2&amp;#62;&amp;#47;&amp;#60;etc&amp;#62;&amp;#34;. I noticed that when this loop gets to the root folder, it&amp;#39;s not enough to check to see if nodeFolder.ParentFolder.Url is null or empty, since it treats &amp;#47;Lists like a folder. Therefore, nodeFolder gets assigned the &amp;#34;&amp;#47;Lists&amp;#34; folder, which doesn&amp;#39;t have DocumentLibrary associated and ends up throwing out of reference exceptions.&lt;br /&gt;&lt;br /&gt;I modified the code slightly and it&amp;#39;s working well so far. Here&amp;#39;s what I&amp;#39;m using&amp;#58;&lt;br /&gt;&lt;br /&gt;Guid rootFolderId &amp;#61; folder.DocumentLibrary.RootFolder.UniqueId&amp;#59;&lt;br /&gt;            while &amp;#40;nodeFolder &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                nodes.Add&amp;#40;new BreadcrumbNodeData &amp;#123; Title &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; nodeFolder.DocumentLibrary.Title &amp;#58; nodeFolder.Name, Url &amp;#61; nodeFolder.ServerRelativeUrl &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;                nodeFolder &amp;#61; &amp;#40;string.IsNullOrEmpty&amp;#40;nodeFolder.ParentFolder.Url&amp;#41; &amp;#124;&amp;#124; nodeFolder.UniqueId.Equals&amp;#40;rootFolderId&amp;#41;&amp;#41; &amp;#63; null &amp;#58; nodeFolder.ParentFolder&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&lt;br /&gt;Hop this helps.&lt;br /&gt;</description><author>ronx</author><pubDate>Mon, 09 Jul 2012 20:29:01 GMT</pubDate><guid isPermaLink="false">Created Issue: GetNewBreadCrumbOutput going too far up the hierarchy [1055] 20120709082901P</guid></item></channel></rss>