Sitemap node with the same route values prevents rendering entire sitemap nodes group

Jul 6, 2011 at 3:30 PM
Edited Jul 6, 2011 at 3:30 PM

Given a Sitemap file like this

<mvcSiteMapNode title="Home" controller="ContentPage" action="Display" clickable="false">
	<mvcSiteMapNode title="Menu column 1" clickable="false">
		<mvcSiteMapNode title="node1" controller="ContentPage" action="Display" id="1" slug="node-1" />
		<mvcSiteMapNode title="node2" controller="ContentPage" action="Display" id="2" slug="" />
		<mvcSiteMapNode title="node3" controller="ContentPage" action="Display" id="2" slug="" />
	</mvcSiteMapNode>
	<mvcSiteMapNode title="Menu column 2" clickable="false">
		<mvcSiteMapNode title="node4" controller="ContentPage" action="Display" id="4" slug="node-4" />
		<mvcSiteMapNode title="node5" controller="ContentPage" action="Display" id="5" slug="" />
		<mvcSiteMapNode title="node6" controller="ContentPage" action="Display" id="6" slug="" />
	</mvcSiteMapNode>
</mvcSiteMapNode>

the entire menu "Menu column 1" doesn't get rendered. The problem is in using the ID route value of "2" twice and apparently this is not allowed. Is there any important and worthwile issue with why this shouldn't be allowed?

Coordinator
Jul 25, 2011 at 10:02 AM

Do you have steps / a project to reproduce this?