[Mono-bugs] [Bug 648901] New: Routing in MVC slightly broken.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 24 23:12:14 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=648901#c0


           Summary: Routing in MVC slightly broken.
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: abe.gillespie at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7

In MonoDevelop add a new ASP.NET MVC Project (don't choose the "Empty" option).
 In HomeController.cs add the following action:

        public ActionResult Foo(string bar)
        {
            ViewData["Bar"] = bar;
            return RedirectToAction("Index");
        }

Run, then, navigate to either:
http://127.0.0.1:8080/Home/Foo/
or
http://127.0.0.1:8080/Home/Foo/?bar=hello

Missing resource yellow screen of death.  Mostly I'm concerned with the
querystring URL not routing because my Twitter OAuth app needs to return to
something like http://site.com/AnAction/?oauth_token=blah

Reproducible: Always

Steps to Reproduce:
See details.
Actual Results:  
YSOD

Expected Results:  
Properly routed.

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


More information about the mono-bugs mailing list