You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/04/08 20:43:14 UTC

[jira] [Assigned] (OFBIZ-6234) catalog main page show freemarker exception

     [ https://issues.apache.org/jira/browse/OFBIZ-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-6234:
--------------------------------------

    Assignee: Jacques Le Roux

> 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
>
> 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)