Manuel Gamerdinger created EXTVAL-147:
-----------------------------------------
Summary: @BeanValidation ignored at class level when using CDI
Scopes
Key: EXTVAL-147
URL: https://issues.apache.org/jira/browse/EXTVAL-147
Project: MyFaces Extensions Validator
Issue Type: Bug
Components: Bean Validation
Affects Versions: 2.0.5
Environment: WebSphere 8.0.0.2
Reporter: Manuel Gamerdinger
@BeanValidation annotation is ignored on class level when using CDI scopes
(javax.enterprise.context). The problem is that the Annotation
(@BeanValidation) is not available on objectToInspect.getClass() in
ExtValBeanValidationMetaDataInternals#transferGroupValidationInformationToFoundGroups.
objectToInspect.getClass() returns a CDI bytecode enhanced proxy class
(...Dlg_$$_javassist_85) where the @BeanValidation annotation is missing.
Reason for that is that the @BeanValidation Annotation is not marked with
@Inherited. In that case the Annotation is not available in the proxied class.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira