Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9481

order page shows widget exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • order
    • None

    Description

      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]

      Attachments

        1. OFBIZ-9481.patch
          2 kB
          Devanshu Vyas
        2. OFBIZ-9481.patch
          8 kB
          Devanshu Vyas

        Issue Links

          Activity

            People

              deepak Deepak Dixit
              wt Wai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: