You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Devanshu Vyas (JIRA)" <ji...@apache.org> on 2017/07/10 08:27:00 UTC

[jira] [Updated] (OFBIZ-9481) order page shows widget exceptions

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

Devanshu Vyas updated OFBIZ-9481:
---------------------------------
    Attachment: OFBIZ-9481.patch

Uploaded the patch for the bug fix. 

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