You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/09/07 18:02:38 UTC

svn commit: r993407 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy

Author: erwan
Date: Tue Sep  7 16:02:38 2010
New Revision: 993407

URL: http://svn.apache.org/viewvc?rev=993407&view=rev
Log:
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());
 



Re: svn commit: r993407 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/CheckDb.groovy

Posted by Adam Heath <do...@brainfood.com>.
On 09/07/2010 11:02 AM, erwan@apache.org wrote:
> Author: erwan
> Date: Tue Sep  7 16:02:38 2010
> New Revision: 993407
>
> URL: http://svn.apache.org/viewvc?rev=993407&view=rev
> Log:
> OFBIZ-3912 -- Impossible to check DB by webtools https://issues.apache.org/jira/browse/OFBIZ-3912 -- A patch from Nicolas Malin

This is a bad commit message.

What was fixed?  The log message needs to stand alone, without a diff 
attached.

What is the error, what was changed?

I find these kinds of problems, because once or twice a month I 
attempt to cherry-pick things from trunk into our(brainfood) local 
ofbiz installation.  All I have when I do so is the log message, user, 
date, a diffstat, and nothing else.  This is very similiar to what 
someone would have if they were on an embedded system, with no network 
access, that possessed a saved copy of the log history.  They would 
not have the ability to see a diff of the files.

ps: I removed the commit patch from this email reply, so that others 
can see that there is no way to actually know what was 
changed/fixed/improved upon.