You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2020/03/05 08:56:07 UTC

[ofbiz-framework] branch trunk updated: Fixed: createMissingCategoryAndProductAltUrls service misses a transaction (OFBIZ-11441)

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 784a299  Fixed: createMissingCategoryAndProductAltUrls service misses a transaction (OFBIZ-11441)
784a299 is described below

commit 784a299968090b09c11a8ceacbe57d459a267a27
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Thu Mar 5 09:56:07 2020 +0100

    Fixed: createMissingCategoryAndProductAltUrls service misses a transaction
    (OFBIZ-11441)
    
    Not sure why it had use-transaction="false", makes no sens to me, too old to
    check, not a big deal I guess
---
 applications/product/servicedef/services.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/product/servicedef/services.xml b/applications/product/servicedef/services.xml
index 999e479..e776379 100644
--- a/applications/product/servicedef/services.xml
+++ b/applications/product/servicedef/services.xml
@@ -1574,7 +1574,7 @@ under the License.
 
     <!-- Alternative URLs -->
     <service name="createMissingCategoryAndProductAltUrls" engine="groovy"
-                location="component://product/groovyScripts/product/catalog/CatalogServices.groovy" invoke="createMissingCategoryAndProductAltUrls" auth="true" use-transaction="false">
+                location="component://product/groovyScripts/product/catalog/CatalogServices.groovy" invoke="createMissingCategoryAndProductAltUrls" auth="true" use-transaction="true">
         <description>Create missing Category and Product Alternative URLs</description>
         <attribute name="prodCatalogId" mode="INOUT" type="String" optional="false"/>
         <attribute name="category" mode="IN" type="String" optional="true"/>