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

Update ProductStore throws exceptions and results in messed up view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Trunk
    • None
    • ecommerce, framework
    • None

    Description

      This happened on demo-trunk:

      What I did:
      Catalog->Stores->Choose a Store->Click on "Update"-Button (regardless if changes had.been made or not)

      What I expected to happen:
      The Page reloads. If any changes had been made these would have been processed.

      What happened instead
      A messed up view with almost no layout appears.
      The navbarContent contains following Error Message:
      {{The following has evaluated to null or missing: ==> catalogQuickaddUse [in template "component://ecommerce/template/includes/Header.ftl" at line 108, column 12] ---- 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 catalogQuickaddUse [in template "component://ecommerce/template/includes/Header.ftl" at line 108, column 7] ---- }}

      Further down in the document there is an error-message div, stating:
      The Following Errors Occurred:
      Error running the simple-method: Entity value not found with name: store Method = updateProductStore, File = file:/home/ofbizDemo/trunk/applications/product/minilang/product/store/ProductStoreServices.xml, Element = <set-nonpk-fields>, Line 90null

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bjugl Benjamin Jugl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: