Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1844

EL Expression failed with empty/not functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1
    • 1.2
    • Web - Configuration
    • None
    • Windows XP SP3 FR
      java (JDK) "1.6.0_07"
      apache tomcat "6.0.18"
      activation-1.1.jar
      mail-1.4.jar
    • Patch

    Description

      This bug is duplicate-like bug withe the one i've post to Archiva's JIRA : http://jira.codehaus.org/browse/MRM-905

      After installing as Wiki said, as a tomcat WAR, i get parsing error in some JSP/TAG code in the header only.
      Nevertheless, some other data may not appear.... i've not checked it.

      Some examples :
      org.apache.jasper.JasperException: /WEB-INF/jsp/components/companyLogo.jsp(22,0) "${!empty(organisationLogo)}" contient d'incorrecte(s) expression(s): javax.el.ELException: Function ':empty' not found

      The workaround is very simple :
      replace EL expressions containing "empty(" with "empty (", and "not(" with "not (" as EL expression requires.

      Everything works fine an identical configuration but a 6.0.14 tomcat version.

      As said in the Archiva's defect, this error is due to 6.0.18 tomcat's update as Hans Wurst highlights.

      Attachments

        1. CONTINUUM-1844.patch
          3 kB
          Fabrice Daugan

        Activity

          People

            oching Maria Odea B. Ching
            fabdouglas Fabrice Daugan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: