Mekika Leila created OFBIZ-13077: ------------------------------------ Summary: Error when calling EntityQuery.from() with a dynamicView via groovy DSL Key: OFBIZ-13077 URL: https://issues.apache.org/jira/browse/OFBIZ-13077 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: Upcoming Branch Reporter: Mekika Leila
There is a "No signature of method " error when executing the script FindInventoryItemsByLabels.groovy which use Groovy DSL syntax to call method EntityQuery.from(DynamicViewEntity dve) This is due to the fact that the from() DSL is currently only defined for calling the method with an entityName String. The purpose of this Jira is to add the Groovy DSL for EntityQuery.from(DynamicViewEntity dve) so the FindInventoryItemsByLabels will not fail and the dsl will be extended for other scripts *To reproduce* In a trunk ofbiz with demo data loaded, load file attached and go to [SearchInventoryItemsByLabels page|[https://localhost:8443/facility/control/SearchInventoryItemsByLabels?facilityId=WebStoreWarehouse]]. Then select 'Label test' and submit the search form -- This message was sent by Atlassian Jira (v8.20.10#820010)