[Mono-bugs] [Bug 494483] New: ASP.NET MVC DefaultModelBinder fails (ArgumentNullException)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 13 17:00:09 EDT 2009


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: mhabersack at novell.com
        ReportedBy: ryandbair at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list