Benjamin Jugl created OFBIZ-10640:
-------------------------------------

             Summary: Update ProductStore throws exceptions and results in 
messed up view
                 Key: OFBIZ-10640
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10640
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce, framework
    Affects Versions: Trunk
            Reporter: Benjamin Jugl


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}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to