[Mono-bugs] [Bug 66649][Wis] New - Empty data in example is valid
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 22 Sep 2004 18:54:16 -0400 (EDT)
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 bogomips@post.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=66649
--- shadow/66649 2004-09-22 18:54:16.000000000 -0400
+++ shadow/66649.tmp.25733 2004-09-22 18:54:16.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 66649
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bogomips@post.pl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Empty data in example is valid
+
+Description of Problem:
+During testing web_regularexpression.aspx if fields are empty,
+no error message is generated.
+
+Steps to reproduce the problem:
+1. cd /usr/share/asp.net-demos/asp
+2. xsp --applications /samples:.
+3. links http://localhost:8080/samples/web_table2.aspx
+4. Press "Check" without filling anything.
+
+
+Actual Results:
+Entered data is valid.
+
+Expected Results:
+Entered data is invalid!
+
+
+How often does this happen?
+Every time.
+
+
+Additional Information:
+RegularExpressionValidator returns true if input string is empty.
+This can be somewhat misleading. I propose either adding
+RequiredFieldValidator or text explaining this behaviour.
+Proposed patch contains both solutions.