[Mono-bugs] [Bug 541969] [Regression] Problems with SiteMap virtual path mapping

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 14 15:13:25 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541969

User juraj at hotfeet.ch added comment
http://bugzilla.novell.com/show_bug.cgi?id=541969#c2


Juraj Skripsky <juraj at hotfeet.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #2 from Juraj Skripsky <juraj at hotfeet.ch>  2009-10-14 13:13:23 MDT ---
There is still something broken in trunk. Attaching a simple test app.

- start xsp2
- request http://localhost:8080
=> NullRefException.

<?xml version="1.0" encoding="ISO-8859-1"?>
<siteMap>
        <siteMapNode title="Home" url="~/index.aspx"/>
</siteMap>

The url of the top-level siteMapNode seems not to be registered by
XmlSiteMapProvider. As a consequence, SiteMap.CurrentNode read in index.aspx is
null.
It works with the following sitemap:

<?xml version="1.0" encoding="ISO-8859-1"?>
<siteMap>
        <siteMapNode>
                <siteMapNode title="Home" url="~/index.aspx"/>
        </siteMapNode>
</siteMap>

-- 
Configure bugmail: http://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