[
https://issues.apache.org/jira/browse/OFBIZ-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679375#comment-16679375 ]
Jacques Le Roux edited comment on OFBIZ-10567 at 11/8/18 9:20 AM:
------------------------------------------------------------------
I think it would overwhelming to change the data model when only the EditProductStore form and updateProductStore service are concerned. So I committed a very simple workaround where visualThemeId is replaced by ecomThemeId in the EditProductStore form and updateProductStore service. If someone prefers to change the data model and related code feel free to revert, reopen and do.
Fixed in
trunk r1846097+1846107
R17 r1846098+1846108
was (Author: jacques.le.roux):
I think it would overwhelming to change the data model when only the EditProductStore form and updateProductStore service are concerned. So I committed a very simple workaround where visualThemeId is replaced by ecomThemeId in the EditProductStore form and updateProductStore service. If someone prefers to change the data model and related code feel free to revert, reopen and do.
Fixed in
trunk r1846097
R17 r1846098
> Stores can't be modified at catalog/control/updateProductStore
> --------------------------------------------------------------
>
> Key: OFBIZ-10567
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10567> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: Trunk, Release Branch 17.12
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: 17.12.01
>
>
> The catalogQuickaddUse var is missing when sets from catalog/control/updateProductStore
> The error is
> bq. 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] ----
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)