Issue 11995

Adapt freemarker templates on species page to LinneanClassification being an interface

11995
Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: Adapt freemarker templates on species page to LinneanClassification being an interface
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2012-10-08 17:02:28.615
Updated: 2013-08-29 14:44:24.093
Resolved: 2012-10-09 12:51:38.012
        
Description: http://localhost:8080/species/2435099
results in:


freemarker.core.InvalidReferenceException: Expression usage.getHigherRankKey is undefined on line 288, column 16 in WEB-INF/pages/species/detail.ftl.
	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
	at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:114)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.ExistsExpression._getAsTemplateModel(ExistsExpression.java:71)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.isTrue(Expression.java:138)
	at freemarker.core.IfBlock.accept(IfBlock.java:80)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:221)
	at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
	at freemarker.core.Environment.visit(Environment.java:428)]]>
    


Author: mdoering@gbif.org
Comment: will be resolved with the proposed api change in GBIFCOM-75
Created: 2012-10-08 17:27:12.069
Updated: 2012-10-08 17:27:12.069


Author: mdoering@gbif.org
Comment: see http://dev.gbif.org/code/cru/CR-POR-64
Created: 2012-10-09 09:44:00.893
Updated: 2012-10-09 09:44:00.893


Author: mdoering@gbif.org
Comment: Resolved by updating the LinneanClassification interfaces
Created: 2012-10-09 12:51:38.236
Updated: 2012-10-09 12:51:38.236