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


           Summary: ASP.NET MVC DefaultModelBinder fails
                    (ArgumentNullException)
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.8)
Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8

An ArgumentNullException is thrown from
System.ComponentModel.TypeDescriptor.GetConverter (System.Type type) whenever
the DefaultModelBinder is used. 

Reproducible: Always

Steps to Reproduce:
1.Create controller with an action that would use model binding. ActionResult
Foo(int id, string bar) for instance.
2.Try to load /Foo?id=1&bar=text
Actual Results:  
Unhandled ArgumentNullException is thrown.

Expected Results:  
The string "text" should have been bound to the bar variable. 

I will attach a simple demo shortly.

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