Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1, EE-3.0.0.GA, 3.1.0.BETA2
-
Fix Version/s: 3.1, EE-3.0.0.GA_P01
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat 7, Firefox, IE, Chrome
-
Assignee Priority:P1
Description
When LazyDataModel is used with datatable having pagination, it break the export feature.
To reproduce:
1. deploy attached .war file
2. Go to the ace:dataTable > Lazy Loading example.
3. Click on the button to export dataTable as cvs file.
Exported file will contain duplicate data after first page rows of the ace:dataTable.
31st record will be a duplicate of 1st row on page 1, 32nd record will be a duplicate of 2nd row on page 1 etc.
.cvs file outcome attached.
To reproduce:
1. deploy attached .war file
2. Go to the ace:dataTable > Lazy Loading example.
3. Click on the button to export dataTable as cvs file.
Exported file will contain duplicate data after first page rows of the ace:dataTable.
31st record will be a duplicate of 1st row on page 1, 32nd record will be a duplicate of 2nd row on page 1 etc.
.cvs file outcome attached.
Activity
Evgheni Sadovoi
created issue -
Evgheni Sadovoi
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000MIb0K] | |
Description |
When LazyDataModel is used with datatable having pagination, it break the export feature. For example, if my records per page is 50, total records are 60, then when you export this data using ace:dataExporter with pageOnly=false, the resulting data contains 60 rows, first 50 rows correspond to the ones shown on the page and next 10 rows are duplicated from the first page again instead of the remaining 10 rows. To reproduce: 1. deploy attached .war file 2. Go to the ace:dataTable > Lazy Loading example. 3. Click on the button to export dataTable as cvs file. Exported file will contain duplicate data. |
When LazyDataModel is used with datatable having pagination, it break the export feature. To reproduce: 1. deploy attached .war file 2. Go to the ace:dataTable > Lazy Loading example. 3. Click on the button to export dataTable as cvs file. Exported file will contain duplicate data after first 30 rows. |
Evgheni Sadovoi
made changes -
Attachment | showcase.part1.rar [ 14629 ] |
Evgheni Sadovoi
made changes -
Attachment | showcase.part2.rar [ 14630 ] |
Evgheni Sadovoi
made changes -
Attachment | showcase.part3.rar [ 14631 ] | |
Attachment | showcase.part4.rar [ 14632 ] |
Evgheni Sadovoi
made changes -
Attachment | cars.csv [ 14633 ] |
Evgheni Sadovoi
made changes -
Description |
When LazyDataModel is used with datatable having pagination, it break the export feature. To reproduce: 1. deploy attached .war file 2. Go to the ace:dataTable > Lazy Loading example. 3. Click on the button to export dataTable as cvs file. Exported file will contain duplicate data after first 30 rows. |
When LazyDataModel is used with datatable having pagination, it break the export feature. To reproduce: 1. deploy attached .war file 2. Go to the ace:dataTable > Lazy Loading example. 3. Click on the button to export dataTable as cvs file. Exported file will contain duplicate data after first page rows of the ace:dataTable. 31st record will be a duplicate of 1st row on page 1, 32nd record will be a duplicate of 2nd row on page 1 etc. .cvs file outcome attached. |
Ken Fyten
made changes -
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | EE-3.0.0.GA_P01 [ 10327 ] | |
Assignee Priority | P2 | |
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Assignee Priority | P2 | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29851 | Fri Jul 06 16:18:09 MDT 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java
|
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #30039 | Tue Jul 17 14:53:43 MDT 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java
|
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31068 | Tue Sep 25 14:45:07 MDT 2012 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/PDFExporter.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/CSVExporter.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExcelExporter.java |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
It seems that when using dataExporter with lazy data model it should only export those rows that have been loaded at the time of export.