svn commit: r644311 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r644311 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh

jacopoc
Author: jacopoc
Date: Thu Apr  3 06:34:25 2008
New Revision: 644311

URL: http://svn.apache.org/viewvc?rev=644311&view=rev
Log:
Fix for NPE reported by Giorgio Tomaselli when the PDF report for a purchase order without terms was rendered.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh?rev=644311&r1=644310&r2=644311&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh Thu Apr  3 06:34:25 2008
@@ -31,6 +31,8 @@
 import org.ofbiz.product.catalog.CatalogWorker;
 import org.ofbiz.accounting.payment.*;
 
+import javolution.util.FastList;
+
 orderId = parameters.get("orderId");
 context.put("orderId", orderId);
 
@@ -73,7 +75,7 @@
     context.put("orderHeaderAdjustments", orderHeaderAdjustments);
     context.put("orderSubTotal", orderSubTotal);
     context.put("currencyUomId", orderReadHelper.getCurrency());
-    context.put("orderTerms",orderTerms);
+    context.put("orderTerms", orderTerms);
 
     // get the order type
     orderType = orderHeader.getString("orderTypeId");