From commits-return-7417-apmail-ofbiz-commits-archive=ofbiz.apache.org@ofbiz.apache.org Mon Jun 02 08:51:08 2008 Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 53972 invoked from network); 2 Jun 2008 08:51:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 08:51:08 -0000 Received: (qmail 39772 invoked by uid 500); 2 Jun 2008 08:51:11 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 39744 invoked by uid 500); 2 Jun 2008 08:51:11 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 39735 invoked by uid 99); 2 Jun 2008 08:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 01:51:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 08:50:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D4EDB2388A16; Mon, 2 Jun 2008 01:50:47 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r662364 - /ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy Date: Mon, 02 Jun 2008 08:50:47 -0000 To: commits@ofbiz.apache.org From: jacopoc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080602085047.D4EDB2388A16@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jacopoc Date: Mon Jun 2 01:50:47 2008 New Revision: 662364 URL: http://svn.apache.org/viewvc?rev=662364&view=rev Log: Fix for error happening after migration to Groovy. Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy?rev=662364&r1=662363&r2=662364&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.groovy Mon Jun 2 01:50:47 2008 @@ -66,7 +66,7 @@ "userLogin", userLogin)); qoh = (Double)outMap.get("quantityOnHandTotal"); } - } catch(GenericServiceException gse) {} + } catch(Exception e) {} productsData.add(UtilMisc.toMap("node", node, "unitCost", unitCost, "totalCost", totalCost, "qoh", qoh)); } context.put("productsData", productsData);