[Mono-bugs] [Bug 81280][Nor] Changed - RangeValidator should use inclusive range [w/ fix]
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Apr 3 06:47:24 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by dna at informatik.uni-kiel.de.
http://bugzilla.ximian.com/show_bug.cgi?id=81280
--- shadow/81280 2007-03-31 17:18:38.000000000 -0500
+++ shadow/81280.tmp.32577 2007-04-03 06:47:24.000000000 -0400
@@ -1,22 +1,21 @@
Bug#: 81280
Product: Mono: Class Libraries
Version: 1.2
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: mmorano at mikeandwan.us
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: RangeValidator should use inclusive range [w/ fix]
When using a RangeValidator, you are to specify the min and max values for
a rage. For example, you should be able to specify a range from 1 to 100,
which would allow any value between 1 and 100 including the endpoints.
However in mono's asp.net 2.0, this does not allow the endpoints.
@@ -40,6 +39,9 @@
var val = Convert (ctrl_value, DataType, validator);
- if (val == null || val <= MinimumValue || val >= MaximumValue) {
+ if (val == null || val < MinimumValue || val > MaximumValue) {
ValidatorFailed (validator);
return false;
}
+
+------- Additional Comments From dna at informatik.uni-kiel.de 2007-04-03 06:47 -------
+See also: #81021
More information about the mono-bugs
mailing list