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

EL Expression failed with empty/not functions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: Web - Configuration
    • Labels:
      None
    • Environment:
      Windows XP SP3 FR
      java (JDK) "1.6.0_07"
      apache tomcat "6.0.18"
      activation-1.1.jar
      mail-1.4.jar
    • Flags:
      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

          Activity

            People

            • Assignee:
              oching Maria Odea Ching
              Reporter:
              fabdouglas Fabrice Daugan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: