details: https://code.openbravo.com/erp/devel/pi/rev/cd2593599d45
changeset: 17676:cd2593599d45
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Thu Aug 16 11:29:14 2012 +0200
summary: Fixes issue 21367: Backout of fix of issue 21187
The fix of issue 21187 has been reverted. That issue will be reopened and its
fix reimplemented.
diffstat:
src/org/openbravo/service/db/DataExportService.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 5816fb3ef563 -r cd2593599d45
src/org/openbravo/service/db/DataExportService.java
--- a/src/org/openbravo/service/db/DataExportService.java Wed Aug 15
15:07:41 2012 +0530
+++ b/src/org/openbravo/service/db/DataExportService.java Thu Aug 16
11:29:14 2012 +0200
@@ -38,7 +38,6 @@
import org.openbravo.dal.core.OBContext;
import org.openbravo.dal.service.OBCriteria;
import org.openbravo.dal.service.OBDal;
-import org.openbravo.dal.service.OBQuery;
import org.openbravo.dal.xml.EntityXMLConverter;
import org.openbravo.model.ad.system.Client;
import org.openbravo.model.ad.utility.DataSet;
@@ -189,9 +188,7 @@
final StringWriter out = new StringWriter();
exc.setOutput(out);
- // used to filter out the inactive rows
- final OBQuery<DataSetTable> datasetTable =
OBDal.getInstance().createQuery(DataSetTable.class,
"dataset='"+dataSet.getId()+"'");
- final List<DataSetTable> dts = datasetTable.list();
+ final List<DataSetTable> dts = dataSet.getDataSetTableList();
Collections.sort(dts, new DatasetTableComparator());
// set the Client ID if not set
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits