Author: jacopoc
Date: Mon Jun 2 01:50:47 2008
New Revision: 662364
URL:
http://svn.apache.org/viewvc?rev=662364&view=revLog:
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);