[OFBiz] SVN: r7017 - trunk/applications/product/src/org/ofbiz/shipment/shipment

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Sun Mar 19 01:49:19 CST 2006


Author: jacopo
Date: 2006-03-19 01:49:12 -0600 (Sun, 19 Mar 2006)
New Revision: 7017

Modified:
   trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
Log:
Fixed bug caused by an Integer passed instead of a Long.

Modified: trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java
===================================================================
--- trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java	2006-03-19 07:32:36 UTC (rev 7016)
+++ trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java	2006-03-19 07:49:12 UTC (rev 7017)
@@ -584,7 +584,7 @@
             stageShip.set("postalCodeExt", address.get("postalCodeExt"));
             stageShip.set("countryGeoId", address.get("countryGeoId"));
             stageShip.set("stateProvinceGeoId", address.get("stateProvinceGeoId"));
-            stageShip.set("numberOfPackages", new Integer(packages.size()));
+            stageShip.set("numberOfPackages", new Long(packages.size()));
             stageShip.set("handlingInstructions", shipment.get("handlingInstructions"));
             toStore.add(stageShip);
 



More information about the Svn mailing list