[OFBiz] SVN: r6837 - trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Fri Feb 24 10:48:08 CST 2006


Author: jacopo
Date: 2006-02-24 10:48:03 -0600 (Fri, 24 Feb 2006)
New Revision: 6837

Modified:
   trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMServices.java
Log:
Fixed bug in the LLC init service (wrong field type).

Modified: trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMServices.java
===================================================================
--- trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMServices.java	2006-02-24 07:49:18 UTC (rev 6836)
+++ trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMServices.java	2006-02-24 16:48:03 UTC (rev 6837)
@@ -225,7 +225,7 @@
         try {
             List products = delegator.findAll("Product", UtilMisc.toList("isVirtual DESC"));
             Iterator productsIt = products.iterator();
-            Integer zero = new Integer(0);
+            Long zero = new Long(0);
             List allProducts = new ArrayList();
             while (productsIt.hasNext()) {
                 GenericValue product = (GenericValue)productsIt.next();



More information about the Svn mailing list