Ticket #1271 (closed clarification: wontfix)

Opened 16 months ago

Last modified 16 months ago

Expression field is undefined in plosone global_head.ftl

Reported by: rcave Owned by: rcave
Priority: critical Milestone: 0.9.3_rc1
Component: ambra Version: 0.9.2
Keywords: Cc:

Description

2009-04-27 14:58:30,906 ERROR runtime(PLoSONE)>  [http-8080-Processor22 freemarker.runtime]
Expression field is undefined on line 35, column 41 in journals/plosone/global/global_head.ftl.
The problematic instruction:
----------
==> if pgURL?contains('browse.action') && field != 'date' && catName?? [on line 35, column 1 in journals/plosone/global/global_head.ftl]
 in include "/journals/plosone/global/global_head.ftl" [on line 26, column 3 in global/global_top.ftl]
 in include "/global/global_top.ftl" [on line 28, column 1 in templates/main_static_template.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression field is undefined on line 35, column 41 in journals/plosone/global/global_head.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
        at freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:121)
        at freemarker.core.AndExpression.isTrue(AndExpression.java:68)
        at freemarker.core.AndExpression.isTrue(AndExpression.java:68)
        at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
...
...
2009-04-27 14:58:30,908 ERROR UnhandledException(PLoSONE)> Expression field is undefined on line 35, column 41 in journals/plosone/global/global_head.ftl. [http-8080-Processor22 org.topazproject.ambra.UnhandledException]
Expression field is undefined on line 35, column 41 in journals/plosone/global/global_head.ftl.
The problematic instruction:
----------
==> if pgURL?contains('browse.action') && field != 'date' && catName?? [on line 35, column 1 in journals/plosone/global/global_head.ftl]
 in include "/journals/plosone/global/global_head.ftl" [on line 26, column 3 in global/global_top.ftl]
 in include "/global/global_top.ftl" [on line 28, column 1 in templates/main_static_template.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression field is undefined on line 35, column 41 in journals/plosone/global/global_head.ftl.
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
...
...

Change History

Changed 16 months ago by josowski

  • type changed from defect to clarification

When I look at what is deployed, it doesn't appear to match what is in CVS. Could this be a problem with the build process?

Changed 16 months ago by josowski

  • owner changed from josowski to rich

Changed 16 months ago by rcave

  • status changed from new to closed
  • resolution set to wontfix

Fixed with a template merge.

Note: See TracTickets for help on using tickets.