Letractively / dotnetkicks

Automatically exported from code.google.com/p/dotnetkicks
1 stars 0 forks source link

Empty comments are not ignored #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Add a blank comment for a story.

What is the expected output? 
No comment should be added.

What do you see instead?
An empty comment is added to the story.

Comments containing only whitespace should be treated as effectively being 
blank and sliently ignored when submitted.

Original issue reported on code.google.com by azizatif on 2 Oct 2007 at 6:48

GoogleCodeExporter commented 9 years ago
I was completely unaware that the custom validator had a property called
ValidateEmptyText that had to be set to true to execute the validation function 
event
when the control has no text in it. Fixed.

Original comment by simone.b...@gmail.com on 2 Oct 2007 at 9:02

GoogleCodeExporter commented 9 years ago
Thanks Simone, would you like to create a UI test for submitting comments?

Original comment by gavinjo...@gmail.com on 2 Oct 2007 at 9:06

GoogleCodeExporter commented 9 years ago
Sure

Original comment by simone.b...@gmail.com on 2 Oct 2007 at 10:34