Export to GitHub

sharp-architecture - issue #90

Email validation attribute not working correctly


Posted on Apr 15, 2009 by Grumpy Bird

What steps will reproduce the problem? 1. Create an Entity object 2. Add a field called Email as a string 3. Add the [Email] Nhibernate.Validator constraint 4. Create the object, and set the email address as 'asdf@asdf' 5. Call 'IsValid' method

What is the expected output? What do you see instead? the result is that it is valid. It is not a valid email address as you can see.

What version of the product are you using? On what operating system? rev. 437

Please provide any additional information below. I think its a NHibernate.Validator problem. I checked their issues and didn't see this. I may test their code and isolate it to being an issue with them and will update this bug if I do.

Comment #1

Posted on May 2, 2009 by Helpful Camel

I'll be sure to include the latest NHibernate Validator in the 1.0 release (coming very shortly), but this is a NHibernate Validator issue and should be brought up to their team, accordingly, if it still persists after the 1.0 release.

Status: WontFix

Labels:
Type-Defect Priority-Medium