vivo-project / VIVO

VIVO is an extensible semantic web application for research discovery and showcasing scholarly work
http://vivoweb.org
BSD 3-Clause "New" or "Revised" License
205 stars 129 forks source link

1.14.0-RC: tenderfoot template possibly broken #3850

Closed matthiasluehr closed 1 year ago

matthiasluehr commented 1 year ago

Describe the bug After clean install of 1.14.0-RC with tenderfoot as default theme (or after switching to tenderfoot) individual-visualizationFoafPerson.ftl throws an error when displaying a person:

Failed at: #include "individual-visualizationFoa... [in template "individual--foaf-person.ftl" at line 141, column 17] ---- at freemarker.core.Include.accept(Include.java:160) at freemarker.core.Environment.visit(Environment.java:324) at freemarker.core.MixedContent.accept(MixedContent.java:54) at freemarker.core.Environment.visit(Environment.java:324) at freemarker.core.Environment.process(Environment.java:302) at edu.cornell.mannlib.vitro.webapp.controller.freemarker.TemplateProcessingHelper.processTemplate(TemplateProcessingHelper.java:57) ... 66 more Caused by: freemarker.core.ParseException: Syntax error in template "individual-visualizationFoafPerson.ftl" in line 178, column 7: Unexpected end of file reached. You have an unclosed #if.

Quick fix:

change line 141 of tenderfoot/templates/body/individual/individual--foaf-person.ftl to

<!-- #include "individual-visualizationFoafPerson.ftl" ->

...

Environment (please complete the following information):