Wai created OFBIZ-9481:
--------------------------
Summary: order page shows widget exceptions
Key: OFBIZ-9481
URL: https://issues.apache.org/jira/browse/OFBIZ-9481
Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: Trunk
Reporter: Wai
use https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091
notice widget exceptions
console output...
2017-07-09 16:22:35,812 |jsse-nio-8443-exec-1 |ScreenFactory
|I| Got 40 screens in 0.021s from:
file:/ofbiz-trunk/applications/party/widget/partymgr/PartyScreens.xml
2017-07-09 16:22:35,871 |jsse-nio-8443-exec-1 |FreeMarkerWorker
|E| null
freemarker.core.NonBooleanException: For "!" right-hand operand: Expected a
boolean, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> "ORDER_COMPLETED" [in template
"component://order/template/order/OrderContactInfo.ftl" at line 21, column 10]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if (!"ORDER_COMPLETED" == orderHeade... [in template
"component://order/template/order/OrderContactInfo.ftl" in macro
"updateOrderContactMech" at line 21, column 3]
- Reached through: @updateOrderContactMech orderHeader=(... [in
template "component://order/template/order/OrderContactInfo.ftl" at line 123,
column 19]
----
at freemarker.core.Expression.modelToBoolean(Expression.java:163)
~[freemarker-2.3.25-incubating.jar:2.3.25]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)