Continuum

EL Expression failed with empty/not functions

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical 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
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

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.

Activity

Hide
Fabrice Daugan added a comment -

The patch did from the revision 686186.
The root path of this patch is http://svn.apache.org/repos/asf/continuum/trunk/continuum-webapp/

Show
Fabrice Daugan added a comment - The patch did from the revision 686186. The root path of this patch is http://svn.apache.org/repos/asf/continuum/trunk/continuum-webapp/
Hide
Maria Odea Ching added a comment -

Thanks again Fabrice! I applied the patch in continuum trunk -r686669.

Show
Maria Odea Ching added a comment - Thanks again Fabrice! I applied the patch in continuum trunk -r686669.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: