Author: erwan
Date: Tue Sep 7 16:02:38 2010
New Revision: 993407
URL:
http://svn.apache.org/viewvc?rev=993407&view=revLog:
OFBIZ-3912 -- Impossible to check DB by webtools
https://issues.apache.org/jira/browse/OFBIZ-3912 -- A patch from Nicolas Malin
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy?rev=993407&r1=993406&r2=993407&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy Tue Sep 7 16:02:38 2010
@@ -34,11 +34,11 @@ if (security.hasPermission("ENTITY_MAINT
entityName = parameters.entityName;
if (groupName) {
- helperName = delegator.getGroupHelperName(groupName);
+ helperInfo = delegator.getGroupHelperInfo(groupName);
messages = [];
//helper = GenericHelperFactory.getHelper(helperName);
- dbUtil = new DatabaseUtil(helperName);
+ dbUtil = new DatabaseUtil(helperInfo);
modelEntities = delegator.getModelEntityMapByGroup(groupName);
modelEntityNames = new TreeSet(modelEntities.keySet());