[Mono-bugs] [Bug 711600] New: RegularExpressionAttribute on a non-string data member throws.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Aug 10 17:37:27 EDT 2011
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.miller at suse.com
ReportedBy: abe.gillespie at gmail.com
QAContact: mono-bugs at 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.
More information about the mono-bugs
mailing list