[hibernate-issues] [Hibernate-JIRA] Created: (HV-123) Wrong elementType in MetaConstraint constructor
Alaa Mohssen Nassef (JIRA)
noreply at atlassian.com
Tue Feb 24 08:43:38 EST 2009
Wrong elementType in MetaConstraint constructor
-----------------------------------------------
Key: HV-123
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-123
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.0.0.Alpha1
Reporter: Alaa Mohssen Nassef
Assignee: Alaa Mohssen Nassef
Fix For: 4.0.0.Alpha2
In the first MetaConstraint constructor, which takes "Type t", the elementType passed to the full constructor is ElementType.FIELD and not ElementType.TYPE. This causes the getValue() method to return null for constraints that annotate classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list