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

"Expected hash" Freemarker error in FindInventoryEventPlan

    Details

      Description

      This error was reported on ofbiz-users by Medhat Abdel Badie on 11 Feb 2013 (http://mail-archives.apache.org/mod_mbox/ofbiz-user/201302.mbox/%3CCAFm1-vWx8VvXN2o3C2fZmUGv9wJuGN9RB16QgjuSnCGyv83jAg@mail.gmail.com%3E)

      Reproducing Scenario:
      • Carton_M (Type : Finished Good) contains 2 Carton_S (Type : Raw
      Material) as Manufacturing BOM.
      • For both Products Go to Facilities >> Edit Product Facilities >> Add
      the Facility "Web Store Warehouse"
      • Leave "MINIMUM STOCK" Empty or set it to Zero
      • Create sales order containing 1 Carton_M product, then Approve the
      order.
      • Go to the Manufacturing >> MRP, and run MRP

      Then click on the Find button at the bottom of the page to show planned inventory events. You'll get:

      "Expected hash. initialQohEvent evaluated instead to freemarker.template.SimpleScalar on line 165, column 26 in component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl"

        Issue Links

          Activity

          Hide
          pfm.smits Pierre Smits added a comment -

          Replacing the ftl with widgets as in OFBIZ-6175 will address the issue.

          Show
          pfm.smits Pierre Smits added a comment - Replacing the ftl with widgets as in OFBIZ-6175 will address the issue.
          Hide
          deepak.dixit Deepak Dixit added a comment -

          Thanks Paul for reporting the issue.

          Slightly modified patch has been committed at following revision:
          Trunk at r#1674464
          14.12 at r#1674468
          13.07 at r#1674469
          12.04 at r#1674477

          Show
          deepak.dixit Deepak Dixit added a comment - Thanks Paul for reporting the issue. Slightly modified patch has been committed at following revision: Trunk at r#1674464 14.12 at r#1674468 13.07 at r#1674469 12.04 at r#1674477

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              paul_foxworthy Paul Foxworthy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development