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.
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.