Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-171

Java EE 7 API: unable to validate expressions with method invocations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • jboss-jsf-api
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dtikhomi@redhat.com Dmitrii Tikhomirov
              markus.incognitus Markus Pollak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: