ICEfaces
  1. ICEfaces
  2. ICE-8297

LazyDataModel with pagination breaks export feature

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.
      1. cars.csv
        3 kB
        Evgheni Sadovoi
      2. showcase.part1.rar
        5.00 MB
        Evgheni Sadovoi
      3. showcase.part2.rar
        5.00 MB
        Evgheni Sadovoi
      4. showcase.part3.rar
        5.00 MB
        Evgheni Sadovoi
      5. showcase.part4.rar
        1.18 MB
        Evgheni Sadovoi

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31068 Tue Sep 25 14:45:07 MDT 2012 art.zambrano ICE-8297 fixed issues with exporting selected rows when using LazyDataModel
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/PDFExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/CSVExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExcelExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30039 Tue Jul 17 14:53:43 MDT 2012 art.zambrano ICE-8297 fixed issue so that only the current page is exported when using lazy loading in the table
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29851 Fri Jul 06 16:18:09 MDT 2012 art.zambrano ICE-8297 fixed issue so that only the current page is exported when using lazy loading in the table
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporter.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: