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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jonesde
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);