Author: jleroux
Date: Thu Jun 27 12:03:21 2019
New Revision: 1862207
URL:
http://svn.apache.org/viewvc?rev=1862207&view=revLog:
Fixed: Export XML data, ,o proper error message displayed if user misses to
select entities
(OFBIZ-11125)
No Proper error message is displayed if user misses to select entities from the
list, and throw error message
Thanks: Jayansh Shinde
Modified:
ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/XmlDsDump.groovy
Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/XmlDsDump.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/XmlDsDump.groovy?rev=1862207&r1=1862206&r2=1862207&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/XmlDsDump.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webtools/groovyScripts/entity/XmlDsDump.groovy Thu Jun 27 12:03:21 2019
@@ -328,4 +328,6 @@ if (passedEntityNames) {
}
}
}
+} else {
+ context.numberOfEntities = 0
}