You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/03/31 03:49:04 UTC

svn commit: r524350 - /ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh

Author: sichen
Date: Fri Mar 30 18:49:03 2007
New Revision: 524350

URL: http://svn.apache.org/viewvc?view=rev&rev=524350
Log:
comment out some code which was not used but causing crashes when trying to set up for security

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh

Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh?view=diff&rev=524350&r1=524349&r2=524350
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/viewprofile.bsh Fri Mar 30 18:49:03 2007
@@ -112,6 +112,7 @@
 context.put("contentPurposes", contentPurposes);
 
 // call the getOrderedSummaryInformation service to get the sub-total of valid orders in last X months
+/* this is being commented out because 1) it supplies loyalty points data which is commented out in viewprofile.ftl and 2) it will crash unless user has ORDERMGR_VIEW permission 
 if (partyId != null) {
     monthsToInclude = new Integer(12);
     Map serviceIn = UtilMisc.toMap("partyId", partyId, "roleTypeId", "PLACING_CUSTOMER", "orderTypeId", "SALES_ORDER", "statusId", "ORDER_COMPLETED", "monthsToInclude", monthsToInclude, "userLogin", userLogin);
@@ -120,3 +121,4 @@
     context.put("totalSubRemainingAmount", result.get("totalSubRemainingAmount"));
     context.put("totalOrders", result.get("totalOrders"));
 }
+*/