[
https://issues.apache.org/jira/browse/OFBIZ-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678340#comment-16678340 ]
Jacques Le Roux commented on OFBIZ-10567:
-----------------------------------------
I suspected this was related with the common-theme introduction. I think I found the reason.
There are 2 fields named visualThemeId in the data model. The one in ProductStore entity existed before the common-theme introduction with the new entity VisualTheme. When the theme is initialised with InitTheme.groovy it sets the context.visualThemeId value if it does not exist yet with parameters.visualThemeId. At this point things get confused and the backend theme used is replaced by the ecommerce theme defined for the productStore.
It's not yet clear to me what the (best) solution could be. It's certainly related to the visualThemeId value in parameters. I'm looking at it...
> 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
>
> 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)