[OFBiz] SVN: r7084 - trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Mon Mar 27 08:23:22 CST 2006


Author: jacopo
Date: 2006-03-27 08:23:17 -0600 (Mon, 27 Mar 2006)
New Revision: 7084

Modified:
   trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
Log:
Fixed wrong reference to "session" variable: thanks to Ray Barlow for the bug report.


Modified: trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
===================================================================
--- trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh	2006-03-27 14:00:44 UTC (rev 7083)
+++ trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh	2006-03-27 14:23:17 UTC (rev 7084)
@@ -252,7 +252,7 @@
     productionMap = new HashMap();
     for (iter = productIds.iterator(); iter.hasNext(); ) {
         productId = iter.next();
-        contextInput = UtilMisc.toMap("productId", productId, "userLogin", session.getAttribute("userLogin"));
+        contextInput = UtilMisc.toMap("productId", productId, "userLogin", userLogin);
         resultOutput = dispatcher.runSync("getProductManufacturingSummaryByFacility", contextInput);
         manufacturingInQuantitySummaryByFacility = resultOutput.get("summaryInByFacility");
         Double productionQuantity = (Double) manufacturingInQuantitySummaryByFacility.get("estimatedQuantityTotal");



More information about the Svn mailing list