[Mono-bugs] [Bug 502555] New: Routing problems related to default parameters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 9 15:35:14 EDT 2009


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


           Summary: Routing problems related to default parameters
    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: gonzalo at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=291196)
 --> (http://bugzilla.novell.com/attachment.cgi?id=291196)
Test case for the 2 problems.

Unzip the attached test case and run xsp2 on it.

1. The URL pointed to by the 'Home' and 'About' is /reports/1 instead of / and
/About.

The problem is that in Global.asax.cs,  the 'Reports' has a default value for
page (page = 1) and we use this route as the default instead of the 'Default'
one, as MS does.

2. If you remove that 'page = 1', the links above are better, but still point
to /Home/Index and /About/Index instead of / and /About. Looks like MS checks
for the default values and does not set them in the ActionLinks.

-- 
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