Author: jacopoc
Date: Tue Mar 30 14:10:23 2010
New Revision: 929148
URL:
http://svn.apache.org/viewvc?rev=929148&view=revLog:
Updated groovy script broken after recent changes for multi tenant support.
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy?rev=929148&r1=929147&r2=929148&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/EntitySQLProcessor.groovy Tue Mar 30 14:10:23 2010
@@ -34,8 +34,7 @@ mgr = delegator.getModelGroupReader();
groups = mgr.getGroupNames(delegator.getDelegatorName());
if (sqlCommand && selGroup) {
- helperName = delegator.getGroupHelperName(selGroup);
- du = new SQLProcessor(helperName);
+ du = new SQLProcessor(delegator.getGroupHelperInfo(selGroup));
try {
if (sqlCommand.toUpperCase().startsWith("SELECT")) {
rs = du.executeQuery(sqlCommand);