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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to