[jboss-jira] [JBoss JIRA] (JBEE-171) Java EE 7 API: unable to validate expressions with method invocations

Tomaz Cerar (JIRA) issues at jboss.org
Wed Feb 8 16:35:00 EST 2017


     [ https://issues.jboss.org/browse/JBEE-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar moved WFLY-7796 to JBEE-171:
----------------------------------------

              Project: JBoss JavaEE Spec APIs  (was: WildFly)
                  Key: JBEE-171  (was: WFLY-7796)
             Workflow: classic default workflow  (was: GIT Pull Request workflow )
          Component/s: jboss-jsf-api
                           (was: JSF)
    Affects Version/s:     (was: 10.1.0.Final)


> Java EE 7 API: unable to validate expressions with method invocations
> ---------------------------------------------------------------------
>
>                 Key: JBEE-171
>                 URL: https://issues.jboss.org/browse/JBEE-171
>             Project: JBoss JavaEE Spec APIs
>          Issue Type: Bug
>          Components: jboss-jsf-api
>            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