[jboss-jira] [JBoss JIRA] (WFLY-7796) Java EE 7 API: unable to validate expressions with method invocations
Dmitrii Tikhomirov (JIRA)
issues at jboss.org
Wed Feb 8 14:34:00 EST 2017
[ https://issues.jboss.org/browse/WFLY-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13360738#comment-13360738 ]
Dmitrii Tikhomirov commented on WFLY-7796:
------------------------------------------
proposed solution: https://github.com/treblereel/jboss-jsf-api_spec/commit/19738f4eadf2987b160e2a9eceff4ae3fa25cd55
> Java EE 7 API: unable to validate expressions with method invocations
> ---------------------------------------------------------------------
>
> Key: WFLY-7796
> URL: https://issues.jboss.org/browse/WFLY-7796
> Project: WildFly
> Issue Type: Bug
> Components: JSF
> Affects Versions: 10.1.0.Final
> Reporter: Markus Pollak
> Assignee: Dmitrii Tikhomirov
>
> Hello,
> I’ve found a bug in the javaee-api-7.0.jar:
> *Problem:*
> javax.faces.validator.ValueExpressionAnalyzer$InterceptingResolver should also override (and delegate) the method "invoke" from ELResolver otherwise the BeanValidator wouldn’t support expressions with method invocations (e.g. #{exampleBean.anyMethod(anyParam).value}. Currently it doesn’t override the method so the default implementation is taken which returns null and leads to problems…
> Best Regards,
> Markus Pollak
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list