Author: mor
Date: Sun May 17 11:00:03 2009
New Revision: 775625
URL:
http://svn.apache.org/viewvc?rev=775625&view=revLog:
Applied fix from trunk for revision: 775624
Fixed "No Shipment Found" on route segment screen even when a shipment do exists.
Modified:
ofbiz/branches/release09.04/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy
Modified: ofbiz/branches/release09.04/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy?rev=775625&r1=775624&r2=775625&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy (original)
+++ ofbiz/branches/release09.04/applications/product/webapp/facility/WEB-INF/actions/shipment/EditShipmentRouteSegments.groovy Sun May 17 11:00:03 2009
@@ -18,6 +18,7 @@
*/
import org.ofbiz.base.util.*
+import org.ofbiz.entity.condition.EntityCondition;
shipmentId = request.getParameter("shipmentId");
if (!shipmentId) {
@@ -25,7 +26,7 @@
}
shipment = null;
-if (!shipmentId) {
+if (shipmentId) {
shipment = delegator.findOne("Shipment", [shipmentId : shipmentId], false);
}