[
https://issues.apache.org/jira/browse/MYFACES-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860991#action_12860991
]
Jakob Korherr commented on MYFACES-2675:
----------------------------------------
After a lot of debugging, I found out that the code committed in MYFACES-2633
really is correct.
The problem with bean validation occured because
CompositeComponentAttributesMapWrapper had to be adapted to work with the
changes from MYFACES-2633.
> BeanValidation does not work with composite components
> ------------------------------------------------------
>
> Key: MYFACES-2675
> URL: https://issues.apache.org/jira/browse/MYFACES-2675
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Jakob Korherr
> Assignee: Jakob Korherr
> Fix For: 2.0.1-SNAPSHOT
>
> Attachments: MYFACES-2675-test.patch
>
>
> The code committed in MYFACES-2633 causes Bean-Validation to stop working on
> composite components, because the BeanValidator can't access the actual
> ValueExpression anymore, because it is not on the component's attribute map.
> In MYFACES-2622 I committed code that handled
> CompositeComponentExpressionHolder correctly on the BeanValidator. After this
> commit BeanValidation worked well for composite components. Last week I
> stumbled upon this again and noticed it was not working anymore. As mentioned
> before, the code committed in MYFACES-2633 causes this problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.