[
https://issues.apache.org/jira/browse/OFBIZ-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-6234.
----------------------------------
Resolution: Fixed
Fix Version/s: Upcoming Branch
Thanks Wai, fixed at revision 1672252.
> catalog main page show freemarker exception
> -------------------------------------------
>
> Key: OFBIZ-6234
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6234> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Reporter: Wai
> Assignee: Jacques Le Roux
> Fix For: Upcoming Branch
>
>
> go to ...
https://localhost:8443/catalog/control/main> console output...
> 2015-04-08 14:31:32,760 |http-bio-8443-exec-3 |ServiceDispatcher |T| Sync service [catalog/getVisualThemeResources] finished in [1] milliseconds
> 2015-04-08 14:31:32,887 |http-bio-8443-exec-3 |runtime |E| Error executing FreeMarker template
> freemarker.core._MiscTemplateException: Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans.
> Left hand operand is a boolean (wrapper: f.t.TrueTemplateBooleanModel).
> Right hand operand is a string (wrapper: f.t.SimpleScalar).
> The blamed expression:
> ==> presentation == "window" [in template "component://widget/templates/htmlFormMacroLibrary.ftl" at line 664, column 42]
> ----
> FTL stack trace ("~" means nesting-related):
> - Failed at: #elseif presentation?has_content && p... [in template "component://widget/templates/htmlFormMacroLibrary.ftl" in macro "renderLookupField" at line 664, column 5]
> - Reached through: @renderLookupField name, formName, fi... [in template "component://common/webcommon/includes/htmlTemplate.ftl" in macro "lookupField" at line 40, column 5]
> - Reached through: @htmlTemplate.lookupField value="\${r... [in template "component://product/webapp/catalog/find/keywordsearchbox.ftl" at line 43, column 7]
> ----
> at freemarker.core.EvalUtil.compare(EvalUtil.java:300) ~[freemarker-2.3.22.jar:2.3.22]
> at freemarker.core.EvalUtil.compare(EvalUtil.java:112) ~[freemarker-2.3.22.jar:2.3.22]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)