[ 
https://issues.apache.org/jira/browse/OFBIZ-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615457#comment-16615457
 ] 

Sebastian Wachinger edited comment on OFBIZ-10567 at 9/14/18 11:13 PM:
-----------------------------------------------------------------------

 I came across the very same issue myself (while working on our new shop, using 
the trunk, again, yes I know ...) before I reported -OFBIZ-10560- / OFBIZ-10536 

The thing is, not only does that weird page appear as described by Jacques, but 
the intended changes in the Product Store configuration are lost.
 Perhaps it might be a good idea to change the title of this here issue, 
because not only setting the cart, but indeed *any* configuration change on 
this page renders that weird error page.

My workaround at this point is to use the +Web Tools+ +Entity Data Maintenance+ 
on
 
[https://demo-trunk.ofbiz.apache.org/webtools/control/ViewGeneric?entityName=ProductStore&productStoreId=9000&enableEdit=true]
 which upon saving renders the same kind of weird page on 
 
[https://demo-trunk.ofbiz.apache.org/webtools/control/UpdateGeneric?entityName=ProductStore]
 displaying exactly the same error message as quoted by Jacques (again no 
matter what you try to change here in the configuration), but this time the 
intended changes are not lost, but saved eventually.

In both cases, in the error message displayed in the console log, the following 
error features prominently:

{{org.apache.tomcat.util.digester.Digester error}}

{{SEVERE: Parse Error at line 21 column 24: cvc-elt.1: Cannot find the 
declaration of element 'web-app'.}}

{{org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 24; cvc-elt.1: 
Cannot find the declaration of element 'web-app'.}}

 


was (Author: komdata):
 I came across the very same issue myself (while working on our new shop, using 
the trunk, again, yes I know ...) before I reported -OFBIZ-10560- / OFBIZ-10536 

The thing is, not only does that weird page appear as described by Jacques, but 
the intended changes in the Product Store configuration are lost.
Perhaps it might be a good idea to change the title of this here issue, because 
not only setting the cart, but indeed *any* change on this page renders that 
weird error page.

My workaround at this point is to use the +Web Tools+ +Entity Data Maintenance+ 
on
 
[https://demo-trunk.ofbiz.apache.org/webtools/control/ViewGeneric?entityName=ProductStore&productStoreId=9000&enableEdit=true]
 which upon saving renders the same kind of weird page on 
 
[https://demo-trunk.ofbiz.apache.org/webtools/control/UpdateGeneric?entityName=ProductStore]
 displaying exactly the same error message as quoted by Jacques, but this time 
the intended changes in the configuration are not lost, but saved eventually.

In both cases, in the error message displayed in the console log, the following 
error features prominently:

{{org.apache.tomcat.util.digester.Digester error}}

{{SEVERE: Parse Error at line 21 column 24: cvc-elt.1: Cannot find the 
declaration of element 'web-app'.}}

{{org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 24; cvc-elt.1: 
Cannot find the declaration of element 'web-app'.}}

 

> Setting cart in store leads to error
> ------------------------------------
>
>                 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
>            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)

Reply via email to