ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9481) order page shows widget exceptions
Date Mon, 10 Jul 2017 12:32:00 GMT

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

Deepak Dixit commented on OFBIZ-9481:
-------------------------------------

This has been fixed at ofbiz framework trunk at r#1801457
Thanks Wai and Devanshu for your contribution.

This is only part of develop no need to backport on older branches. 

> 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
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9481.patch, 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)

Mime
View raw message