[Mono-bugs] [Bug 81021][Blo] Changed - RangeValidator don't correctly check bounds
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Mar 19 11:28:04 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=81021
--- shadow/81021 2007-03-12 08:30:31.000000000 -0500
+++ shadow/81021.tmp.31943 2007-03-19 10:28:04.000000000 -0500
@@ -3,21 +3,21 @@
Version: unspecified
OS: GNU/Linux [Other]
OS Details: Debian etch on vServer Linux
Status: NEW
Resolution:
Severity: 001 One hour
-Priority: Major
+Priority: Blocker
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: dna at informatik.uni-kiel.de
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: RangeValidator don't correctly check intergers
+Summary: RangeValidator don't correctly check bounds
Try the following code:
<asp:DropDownList ID="CategoryDropDownList" runat="server">
<asp:ListItem Selected="True" Text="Name1" Value="1" />
<asp:ListItem Text="Name2" Value="2" />
</asp:DropDownList>
@@ -28,6 +28,14 @@
MinimumValue="1" MaximumValue="2" Display="Dynamic" />
If you try to post the form, the validator is always false.
Works on .NET 2.0
This example works on Mono with: MinimumValue="0" MaximumValue="3"
+
+------- Additional Comments From dna at informatik.uni-kiel.de 2007-03-19 10:28 -------
+Same Problem with Type="Date"
+
+Set the min.Value to "1.1.2007" and the textbox contains "1.1.2007"
+the page is not valid.
+
+The bounds on .NET are also valid, on Mono svn head not.
More information about the mono-bugs
mailing list