You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2009/04/19 09:09:17 UTC

svn commit: r766432 - /ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy

Author: jonesde
Date: Sun Apr 19 07:09:17 2009
New Revision: 766432

URL: http://svn.apache.org/viewvc?rev=766432&view=rev
Log:
Applied fix from trunk for revision: 766431

Modified:
    ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy

Modified: ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy?rev=766432&r1=766431&r2=766432&view=diff
==============================================================================
--- ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy (original)
+++ ofbiz/branches/release09.04/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy Sun Apr 19 07:09:17 2009
@@ -207,7 +207,7 @@
             beganTransaction = TransactionUtil.begin(3600);
             try {
                 me = reader.getModelEntity(curEntityName);
-                if (me.getNoAutoStamp()) {
+                if (me.getNoAutoStamp() || me instanceof ModelViewEntity) {
                     values = delegator.find(curEntityName, null, null, null, me.getPkFieldNames(), efo);
                 } else {
                     values = delegator.find(curEntityName, entityDateCond, null, null, UtilMisc.toList("-createdTxStamp"), efo);
@@ -262,7 +262,7 @@
                         results.add("[$fileNumber] [vvv] $curEntityName skipping view entity");
                         return;
                     }
-                    if (me.getNoAutoStamp()) {
+                    if (me.getNoAutoStamp() || me instanceof ModelViewEntity) {
                         values = delegator.find(curEntityName, null, null, null, me.getPkFieldNames(), efo);
                     } else {
                         values = delegator.find(curEntityName, entityDateCond, null, null, me.getPkFieldNames(), efo);