Author: lektran
Date: Sun Jul 5 10:04:49 2009
New Revision: 791213
URL:
http://svn.apache.org/viewvc?rev=791213&view=revLog:
Small fixup to my last commit
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java?rev=791213&r1=791212&r2=791213&view=diff==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java Sun Jul 5 10:04:49 2009
@@ -432,7 +432,7 @@
product.set("lastModifiedDate", nowTimestamp);
product.setString("lastModifiedByUserLogin", userLogin.getString("userLoginId"));
try {
- product.set("productHeight", new BigDecimal(request.getParameter("productHeight")));
+ product.set("productHeight", parseBigDecimalForEntity(request.getParameter("productHeight")));
product.set("productWidth", parseBigDecimalForEntity(request.getParameter("productWidth")));
product.set("productDepth", parseBigDecimalForEntity(request.getParameter("productDepth")));
product.set("weight", parseBigDecimalForEntity(request.getParameter("weight")));