Author: jleroux
Date: Mon Jun 30 09:59:06 2014
New Revision: 1606660

URL: http://svn.apache.org/r1606660
Log:
Fix a small bug where delegator was missing in a Groovy script

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=1606660&r1=1606659&r2=1606660&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
 Mon Jun 30 09:59:06 2014
@@ -34,7 +34,7 @@ mgr = delegator.getModelGroupReader();
 groups = mgr.getGroupNames(delegator.getDelegatorName());
 
 if (sqlCommand && selGroup) {
-    du = new SQLProcessor(delegator.getGroupHelperInfo(selGroup));
+    du = new SQLProcessor(delegator, delegator.getGroupHelperInfo(selGroup));
     try {
         if (sqlCommand.toUpperCase().startsWith("SELECT")) {
             rs = du.executeQuery(sqlCommand);


Reply via email to