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

mridulpathak 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 03209b1d2f Fixed: MissingMethodException thrown during the execution 
of the updateProductStore service when attempting to expire existing 
facilities. (OFBIZ-13472) (#1540)
03209b1d2f is described below

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

    Fixed: MissingMethodException thrown during the execution of the 
updateProductStore service when attempting to expire existing facilities. 
(OFBIZ-13472) (#1540)
    
    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 4890bd94da..5fd30c6e31 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