This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release24.09 by this push:
     new b5ca713e01 Fixed: MissingMethodException thrown during the execution 
of the updateProductStore service when attempting to expire existing 
facilities. (OFBIZ-13472) (#1539)
b5ca713e01 is described below

commit b5ca713e0180ecca00f9cc5b071e2d3cbf39f0a7
Author: Chandan Khandelwal <[email protected]>
AuthorDate: Fri Jul 31 21:22:43 2026 +0530

    Fixed: MissingMethodException thrown during the execution of the 
updateProductStore service when attempting to expire existing facilities. 
(OFBIZ-13472) (#1539)
    
    Fixed: MissingMethodException thrown during the execution of the
    updateProductStore service when attempting to expire existing
    facilities. (OFBIZ-13472)
    
    Thanks Swapnil Shah for reporting.
---
 .../org/apache/ofbiz/product/product/store/ProductStoreServices.groovy  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
index 1e330b029f..fdb0595cbc 100644
--- 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
+++ 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
@@ -109,7 +109,7 @@ Map updateProductStore() {
                 EQUALS(productStoreId: store.productStoreId)
                 LESS_THAN_EQUAL_TO(fromDate: nowTimestamp)
             }
-            delegator.storeByCondition('ProductStoreFacility', condition, 
[thruDate: nowTimestamp])
+            delegator.storeByCondition('ProductStoreFacility', [thruDate: 
nowTimestamp], condition)
         }
         // create the new entry
         makeValue('ProductStoreFacility', [

Reply via email to