Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8112

JBossWeb Regression - Tomcat 48627 - JasperException with JSF tags and value expressions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.1.2
    • Fix Version/s: EAP_EWP 5.2.0
    • Component/s: Web
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      jsp with:
      <h:outputText value="
      ">

      Show
      jsp with: <h:outputText value=" ">
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      Due to a regression, the compilation of some JPSs with JSF tags (for example <h:outputText value="\\">) failed with an exception similar to the following:

      Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp
      According to TLD or attribute directive in tag file, attribute value does not accept any expressions

      This happened because of incorrect expression parsing. Now, the regression has been fixed and the problem no longer occurs.
      Show
      Due to a regression, the compilation of some JPSs with JSF tags (for example <h:outputText value="\\">) failed with an exception similar to the following: Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp According to TLD or attribute directive in tag file, attribute value does not accept any expressions This happened because of incorrect expression parsing. Now, the regression has been fixed and the problem no longer occurs.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      One of these bug fixes introduced with JBoss EAP 5.1.2 introduced the regression described below: JBPAPP-6501 JBPAPP-6382

      Bug 48627 - JasperException with JSF tags and value expressions
      https://issues.apache.org/bugzilla/show_bug.cgi?id=48627

      Now some jsps with jsf tags are not compiling anymore.

      Following tag results in a JasperException in 6.0.24 but compiles fine with
      older versions:

      <h:outputText value="
      ">

      Stack:
      Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp(147,100)
      According to TLD or attribute directive in tag file, attribute value does not
      accept any expressions
      at
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
      at
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
      ...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rhatlapa Radim Hatlapatka
                Reporter:
                bmaxwell Brad Maxwell
                Writer:
                Eva Kopalova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: