You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Ratnesh Upadhyay (Jira)" <ji...@apache.org> on 2026/07/31 13:39:00 UTC

[jira] [Commented] (OFBIZ-13472) Catalog : Not able to update Inventory Facility for the Product Store

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

Ratnesh Upadhyay commented on OFBIZ-13472:
------------------------------------------

I've reviewed and replicated issue over release 24.09 and it was happening due to incorrect service argument.

Here is error logs for more details: 
{code:java}
|I| Transaction rolled back
2026-07-31 16:03:09,693 |jsse-nio-8443-exec-4 |ServiceEventHandler           |E| Service invocation error
org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [updateProductStore] in Groovy file [component://product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy]:  (groovy.lang.MissingMethodException: No signature of method: org.apache.ofbiz.entity.GenericDelegator.storeByCondition() is applicable for argument types: (String, org.apache.ofbiz.entity.condition.EntityConditionBuilder$ConditionHolder...) values: [ProductStoreFacility, ((thruDate IS NULL OR thruDate >= '2026-07-31 16:03:09.674') AND productStoreId = '1450' AND fromDate <= '2026-07-31 16:03:09.674'), ...]
Possible solutions: storeByCondition(java.lang.String, java.util.Map, org.apache.ofbiz.entity.condition.EntityCondition))
    at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:138) ~[main/:?]
    at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:429) ~[main/:?]
    at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatc {code}

> Catalog : Not able to update Inventory Facility for the Product Store
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-13472
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13472
>             Project: OFBiz
>          Issue Type: Bug
>          Components: Catalog, Stores
>    Affects Versions: 24.09.05
>            Reporter: Swapnil Shah
>            Assignee: Ratnesh Upadhyay
>            Priority: Major
>             Fix For: 24.09, 24.09.05
>
>         Attachments: image-2026-07-30-18-30-29-290.png
>
>
> Getting following error while updating inventory facility over product store. 
> Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error (groovy.lang.MissingMethodException: No signature of method: org.apache.ofbiz.entity.GenericDelegator.storeByCondition() is applicable for argument types: (String, org.apache.ofbiz.entity.condition.EntityConditionBuilder$ConditionHolder...) values: [ProductStoreFacility, ((thruDate IS NULL OR thruDate >= '2026-07-30 17:48:40.973') AND productStoreId = '9100' AND fromDate <= '2026-07-30 17:48:40.973'), ...]<br/>Possible solutions: storeByCondition(java.lang.String, java.util.Map, org.apache.ofbiz.entity.condition.EntityCondition))
>  
> !image-2026-07-30-18-30-29-290.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)