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

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


           Summary: RegularExpressionAttribute on a non-string data member
                    throws.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: michael.mil...@suse.com
        ReportedBy: abe.gilles...@gmail.com
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=445243)
 --> (http://bugzilla.novell.com/attachment.cgi?id=445243)
MVC project

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7)
AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1

When a regex passes, the model binder then ignores the data type and tries to
use the string directly (I'm assuming).  Run the attached project.  Enter "100"
and submit.

Reproducible: Always

Actual Results:  
Exception thrown.

Expected Results:  
Works.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to