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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 7.0.10.GA
    • 7.0.8.GA
    • Undertow
    • None
    • +
    • Hide

      You can test the upstream application but I was playing with another one. The maven project is attached. In this case the app uses fn:concatenate instead of fn:length but it's the same. Just deploy the application and access:

      http://host:port/replace/ReplaceServlet

      The contains invalid expression(s) exception is thrown.

      Show
      You can test the upstream application but I was playing with another one. The maven project is attached. In this case the app uses fn:concatenate instead of fn:length but it's the same. Just deploy the application and access: http://host:port/replace/ReplaceServlet The contains invalid expression(s) exception is thrown.

      Same bug that upstream WFLY-6263. Copying the description from there.

      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.

        1. Hide.url
          0.2 kB
        2. replace.zip
          6 kB

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-rmartinc Ricardo Martin Camarero
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: