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

FTL error for purchase order with Bulk Item Type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 16.11, Release Branch 18.12, Release Branch 17.12, Trunk
    • 16.11.07, 17.12.01, 18.12.01
    • order
    • None

    Description

      Steps to regenerate:
      1. Login into the ordermgr application and click on Order Entry tab
      2. Create PO with any supplier
      3. Fill details and click on Continue
      4. Now select Product Category with Item type Bulk and add the description and Click on add to order
      5.  Finalize order with Finalize Order button
      6. Add Term type, ship group option, etc details and create Order.
      7. Scroll down to Order Items section and See the FTL error on the screen.
       

      The following has evaluated to null or missing: ==> product [in template "component://order/template/order/OrderItems.ftl" at line 252, column 71] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if "SERVICE" == product.productTypeI... [in template "component://order/template/order/OrderItems.ftl" at line 252, column 53] ----
      

      Attachments

        1. OFBIZ-11252.patch
          1 kB
          Devanshu Vyas

        Activity

          People

            jleroux Jacques Le Roux
            devanshu Devanshu Vyas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: