[OFBiz] SVN: r4936 - trunk/applications/manufacturing/widget/manufacturing

jacopo at svn.ofbiz.org jacopo at svn.ofbiz.org
Mon May 2 04:26:13 EDT 2005


Author: jacopo
Date: 2005-05-02 03:26:07 -0500 (Mon, 02 May 2005)
New Revision: 4936

Modified:
   trunk/applications/manufacturing/widget/manufacturing/CuttingListReport.bsh
Log:
Product's width was used in place of product's height; bug reported by Andrea De Crignis.


Modified: trunk/applications/manufacturing/widget/manufacturing/CuttingListReport.bsh
===================================================================
--- trunk/applications/manufacturing/widget/manufacturing/CuttingListReport.bsh	2005-05-02 03:56:11 UTC (rev 4935)
+++ trunk/applications/manufacturing/widget/manufacturing/CuttingListReport.bsh	2005-05-02 08:26:07 UTC (rev 4936)
@@ -121,7 +121,7 @@
         Double widthD = product.getDouble("productWidth");
         int width = 0;
         if (widthD != null) width = (int)(widthD.doubleValue() * 1000);
-        Dimension dim = new Dimension(height, width);
+        Dimension dim = new Dimension(width, height);
         if (!dimensionToProducts.containsKey(dim)) {
             dimensionToProducts.put(dim, new ArrayList());
         }



More information about the Svn mailing list