Author: jleroux
Date: Wed Nov 4 15:51:31 2009
New Revision: 832776
URL:
http://svn.apache.org/viewvc?rev=832776&view=revLog:
A patch from Amit Sharma "Error rendering screen [component://webtools/widget/CommonScreens.xml#CommonImportExportDecorator]" (
https://issues.apache.org/jira/browse/OFBIZ-3150) - OFBIZ-3150
Steps for generating error:
1) Hit URL
https://localhost:8443/webtools/control/xmldsdump2) Depress "Check All" button on Export section.
3) Fill following fields.
Output Directory : <Eport path>
Records Updated Before : <Current time>
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy
ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy?rev=832776&r1=832775&r2=832776&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy Wed Nov 4 15:51:31 2009
@@ -35,8 +35,6 @@
maxRecStr = parameters.maxrecords;
entitySyncId = parameters.entitySyncId;
passedEntityNames = parameters.entityName instanceof Collection ? parameters.entityName as TreeSet : [parameters.entityName] as TreeSet;
-entityFrom = parameters.entityFrom;
-entityThru = parameters.entityThru;
// get the max records per file setting and convert to a int
maxRecordsPerFile = 0;
Modified: ofbiz/trunk/framework/webtools/widget/EntityScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntityScreens.xml?rev=832776&r1=832775&r2=832776&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/widget/EntityScreens.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/EntityScreens.xml Wed Nov 4 15:51:31 2009
@@ -406,6 +406,8 @@
<property-map resource="WebtoolsUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleEntityExport"/>
<set field="tabButtonItem" value="xmlDsDump"/>
+ <set field="entityFrom" from-field="parameters.entityFrom" type="Timestamp"/>
+ <set field="entityThru" from-field="parameters.entityThru" type="Timestamp"/>
<script location="component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy"/>
</actions>
<widgets>