[hibernate-issues] [Hibernate-JIRA] Created: (HV-567) @Email reported as "disallowed" for String field

Daniel Ford (JIRA) noreply at atlassian.com
Sun Mar 25 09:58:49 EDT 2012


@Email reported as "disallowed" for String field
------------------------------------------------

                 Key: HV-567
                 URL: https://hibernate.onjira.com/browse/HV-567
             Project: Hibernate Validator
          Issue Type: Bug
          Components: annotation-processor
    Affects Versions: 4.3.0.Alpha1
         Environment: Java 1.6, Windows 7, Maven 3.0.2
            Reporter: Daniel Ford


Upgrading from 4.2.0.Final to 4.3.0.Alpha1 caused the @Email annotation to be reported as "disallowed for this data type" for a String field.

@NotEmpty
@Email
private String emailAddress;

The annotation @Email is disallowed for this data type.

This seems like a really weird bug as I would expect there is a unit test case that tests that @Email is processed correctly, so I'm pondering the value of expending the effort of creating just such a simple example as a test case.  Any suggestions on things I can do on my side to narrow/explore this issue before I create a full blown example?  I tried a few variations like adding another String field and trying that and got the same message (no surprise).
Thanks!
Dan

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list