EdisonCP / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Email validation attribute not working correctly #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by tommy....@gmail.com on 15 Apr 2009 at 4:22

GoogleCodeExporter commented 8 years ago
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.

Original comment by wmccaffe...@gmail.com on 2 May 2009 at 7:38