Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13925

[GSS](7.1.z) Apostrophe in an attribute with multiple EL parts breaks function lookup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.1.CR1, 7.1.1.GA
    • 7.1.0.GA
    • EE, Undertow
    • None
    • Hide

      1. Deploy the attached two-file "application". Observe that accessing `.../jastow-bug/test.jsp` results in an internal server error.

      2. Edit `test.jsp` and remove the apostrophe from "${0} ' ${fn:length ([1, 2])}".

      3. Now accessing the page gives `0 2`, as expected.

      Show
      1. Deploy the attached two-file "application". Observe that accessing `.../jastow-bug/test.jsp` results in an internal server error. 2. Edit `test.jsp` and remove the apostrophe from "${0} ' ${fn:length ( [1, 2] )}". 3. Now accessing the page gives `0 2`, as expected.
    • EAP 7.1.1

    Description

      Certain EL pieces result in unexplained org.apache.jasper.JasperException "contains invalid expression(s)" (the exception does not explain what is invalid). After lots of tries, I have narrowed it down: 1) there must be several EL pieces in one string; 2) there must be an apostrophe in between.

      This looks very similar to bug WFLY-4455. It breaks several pages in our application, blocking upgrade to WildFly 10.

      Example is attached.

      Attachments

        1. jastow.diff
          2 kB
          Brad Maxwell

        Issue Links

          Activity

            People

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: