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