David,
This may have been a side effect of the work I did converting JSPs to bsh/ftl. I will create a Jira
issue for it and research it when I get more time.
-Adrian
[hidden email] wrote:
> Author: jonesde
> Date: Mon Sep 24 03:53:04 2007
> New Revision: 578752
>
> URL:
http://svn.apache.org/viewvc?rev=578752&view=rev> Log:
> Small tweak so that it doesn't blow up when doing the all entity thing with a fromDate; unfortunately the all entities thing no longer checks for view entities and not auto-checking those boxes, which is lame and I wish whoever removed it hadn't, but oh well
>
> Modified:
> ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh
>
> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh?rev=578752&r1=578751&r2=578752&view=diff> ==============================================================================
> --- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh (original)
> +++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/xmldsdump.bsh Mon Sep 24 03:53:04 2007
> @@ -210,10 +210,17 @@
> writer.println("<entity-engine-xml>");
>
> Iterator i = passedEntityNames.iterator();
> - while(i.hasNext()) {
> + while(i.hasNext()) {
> + String curEntityName = (String) i.next();
> + if (UtilValidate.isNotEmpty(entityFrom)) {
> + curModelEntity = reader.getModelEntity(curEntityName);
> + if (curModelEntity instanceof ModelViewEntity) {
> + continue;
> + }
> + }
> +
> boolean beganTransaction = TransactionUtil.begin(3600);
> try {
> - String curEntityName = (String)i.next();
> EntityListIterator values = delegator.findListIteratorByCondition(curEntityName, entityDateCond, null, null, UtilMisc.toList("-createdTxStamp"), efo);
>
> GenericValue value = null;
>
>
>