svn commit: r1595153 - /ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1595153 - /ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

mor-2
Author: mor
Date: Fri May 16 10:56:49 2014
New Revision: 1595153

URL: http://svn.apache.org/r1595153
Log:
Fixed java.lang.IllegalArgumentException due to wrong arguments introduced in r1493399.

Modified:
    ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy

Modified: ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy?rev=1595153&r1=1595152&r2=1595153&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy (original)
+++ ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy Fri May 16 10:56:49 2014
@@ -97,7 +97,7 @@ if (shipmentMethod) {
     carrierPartyId = shipmentMethod.substring(0, shipmentMethod.indexOf("@"));
     shipmentMethodTypeId = shipmentMethod.substring(shipmentMethod.indexOf("@")+1);
     if (carrierPartyId && shipmentMethodTypeId) {
-        currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId], null, false));
+        currentCarrierShipmentMethod = EntityUtil.getFirst(delegator.findByAnd("CarrierShipmentMethod", [partyId : carrierPartyId, shipmentMethodTypeId : shipmentMethodTypeId]));
         context.currentCarrierShipmentMethod = currentCarrierShipmentMethod;
     }
 }