[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-261) Let composed constraint return the message of the first failing constraint instead of the composed constraint

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Jan 6 11:47:14 EST 2012


Let composed constraint return the message of the first failing constraint instead of the composed constraint
-------------------------------------------------------------------------------------------------------------

                 Key: BVAL-261
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-261
             Project: Bean Validation
          Issue Type: Improvement
            Reporter: Emmanuel Bernard


A better name is needed but to get the idea

@ReportAsSingleViolation(messageSource=ByOriginatingConstraint) 

This would return the composing constraint message (say from @Size) instead of the composed constraint @ZipCode

--
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