[Mono-bugs] [Bug 465696] New: StaticSiteMapProvider complains about multiple nodes with the same URL 'index.aspx'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 13 08:08:48 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=465696


           Summary: StaticSiteMapProvider complains about multiple nodes
                    with the same URL 'index.aspx'
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121622 Fedora/3.0.5-1.fc10 Firefox/3.0.5

Using the custom SiteMap provider included in the attached minimal webapp leads
to an exception being thrown. No exception is thrown on .NET.

Reproducible: Always

Steps to Reproduce:
1. extract attached web app
2. start xsp2
3. request http://localhost:8080/index.aspx
Actual Results:  
System.InvalidOperationException: Multiple nodes with the same URL 'index.aspx'
were found. StaticSiteMapProvider requires that sitemap nodes have unique URLs.

  at System.Web.StaticSiteMapProvider.AddNode (System.Web.SiteMapNode node,
System.Web.SiteMapNode parentNode) [0x00000] 
  at System.Web.XmlSiteMapProvider.AddNode (System.Web.SiteMapNode node,
System.Web.SiteMapNode parentNode) [0x00000] 
  at System.Web.XmlSiteMapProvider.BuildSiteMapRecursive (System.Xml.XmlNode
xmlNode, Boolean localize) [0x00000] 
  at System.Web.XmlSiteMapProvider.BuildSiteMap () [0x00000] 
  at System.Web.StaticSiteMapProvider.FindSiteMapNode (System.String rawUrl)
[0x00000] 
  at System.Web.XmlSiteMapProvider.FindSiteMapNode (System.String rawUrl)
[0x00000] 
  at System.Web.SiteMapProvider.FindSiteMapNode (System.Web.HttpContext
context) [0x00000] 
  at System.Web.SiteMapProvider.get_CurrentNode () [0x00000] 
  at System.Web.SiteMap.get_CurrentNode () [0x00000] 
  at ASP.index_aspx.Page_Load (System.Object o, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 

Expected Results:  
page showing "Test"

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list