This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit e16d900b366a92d0e4da37958a49991288db7bf1 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Jul 4 10:55:51 2024 +0200 Revert "Fixed: Trunk demo errors in error.log (OFBIZ-13005)" This reverts commit 6b2111cfe098196ac08d4c7959956babaa2fefa9. --- .../groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/applications/order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy b/applications/order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy index d50109f8a1..f455e344df 100644 --- a/applications/order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy +++ b/applications/order/src/main/groovy/org/apache/ofbiz/order/entry/catalog/Product.groovy @@ -20,12 +20,12 @@ package org.apache.ofbiz.order.entry.catalog import org.apache.ofbiz.base.util.StringUtil import org.apache.ofbiz.base.util.UtilHttp -import org.apache.ofbiz.entity.util.EntityUtil import org.apache.ofbiz.product.catalog.CatalogWorker -import org.apache.ofbiz.product.category.CategoryContentWrapper import org.apache.ofbiz.product.category.CategoryWorker -import org.apache.ofbiz.product.product.ProductContentWrapper +import org.apache.ofbiz.product.category.CategoryContentWrapper import org.apache.ofbiz.product.product.ProductWorker +import org.apache.ofbiz.product.product.ProductContentWrapper +import org.apache.ofbiz.entity.util.EntityUtil contentPathPrefix = CatalogWorker.getContentPathPrefix(request) catalogName = CatalogWorker.getCatalogName(request) @@ -122,9 +122,7 @@ if (productId) { } } } - if (keywords) { - context.metaKeywords = StringUtil.join(keywords, ', ') - } + context.metaKeywords = StringUtil.join(keywords, ', ') } // Set the default template for aggregated product (product component configurator ui)