[ 
https://issues.apache.org/jira/browse/OFBIZ-9481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080042#comment-16080042
 ] 

Devanshu Vyas commented on OFBIZ-9481:
--------------------------------------

Thanks Deeapk, for the suggestion.
I found such occurrences quite a few in the application. Will fix all those and 
upload a patch soon.  

> 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
>            Assignee: Deepak Dixit
>         Attachments: OFBIZ-9481.patch
>
>
> 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)

Reply via email to