Author: mor
Date: Fri May 16 10:56:49 2014
New Revision: 1595153
URL:
http://svn.apache.org/r1595153Log:
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;
}
}