[
https://issues.apache.org/jira/browse/OFBIZ-6144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pawan Verma updated OFBIZ-6144:
-------------------------------
Attachment: OFBIZ-6144.patch
Here is the updated patch for this improvement. There are some conflicts in ShipmentScreens.xml file from the previous patch, I have fixed this manually and done testing on this improvement.
> Convert FindShipment ftl to form widget
> ---------------------------------------
>
> Key: OFBIZ-6144
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6144> Project: OFBiz
> Issue Type: Improvement
> Components: product
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Assignee: Deepak Dixit
> Attachments: OFBIZ-6144.patch, OFBIZ-6144.patch
>
>
> The error below occurs when findShipmentExprs is null in FindShipment.groovy which prevents the page from even displaying. IMO the FindShipment.groovy and FindShipment.ftl should be replaced with form widgets.
> ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: java.lang.IllegalArgumentException: Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map] (Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)