ICEfaces
  1. ICEfaces
  2. ICE-9316

ace:dataExporter - Selected rows of nested dataTable not exported

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA, 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      When using a custom OuterTableCSVExporter to export a nested dataTable and only exporting the selected rows, the rows selected in the nested dataTable are not exported.

      The only way they are exported is if the parent or outer row is selected. If the nested rows are selected only then nothing is exported.
      1. Case12005Example.zip
        22 kB
        Arran Mccullough
      2. Case12005ExampleWAR.zip
        9.04 MB
        Arran Mccullough

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000RVWv6AAH
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows the issue.

        Steps:

        • Load welcomeICEfaces.jsf
        • Expand a row in the parent table.
        • Select a row or two in the nested table.
        • Click the export button, in the exported file, no rows were exported.
        Show
        Arran Mccullough added a comment - Attached test case that shows the issue. Steps: Load welcomeICEfaces.jsf Expand a row in the parent table. Select a row or two in the nested table. Click the export button, in the exported file, no rows were exported.
        Arran Mccullough made changes -
        Attachment Case12005Example.zip [ 16011 ]
        Attachment Case12005ExampleWAR.zip [ 16012 ]
        Hide
        Ken Fyten added a comment -

        Seems like they want it so that whatever the lowest level selected rows are in the hierarchy, it will automatically include the parent level rows in the export as well, without having to explicitly select those as well. ?

        Show
        Ken Fyten added a comment - Seems like they want it so that whatever the lowest level selected rows are in the hierarchy, it will automatically include the parent level rows in the export as well, without having to explicitly select those as well. ?
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA [ 10572 ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Arturo Zambrano [ artzambrano ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35969 Wed Jun 05 18:18:20 MDT 2013 art.zambrano ICE-9316 ace:dataExporter - Selected rows of nested dataTable not exported... fixed
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/OuterTableCSVExporter.java
        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix at revision 35969 to the trunk and at revision 35970 to the 3.3 EE tag.

        The fix consists in going through the inner tables, looking fro selected rows, even if the parent row is not selected.

        At the moment, only the inner selected rows will be exported if they are selected, without also exporting the parent row by itself (the parent row's columns are already prepended to the inner rows). If they require to export the parent row by itself as well, it would be a quick fix.

        Show
        Arturo Zambrano added a comment - - edited Committed fix at revision 35969 to the trunk and at revision 35970 to the 3.3 EE tag. The fix consists in going through the inner tables, looking fro selected rows, even if the parent row is not selected. At the moment, only the inner selected rows will be exported if they are selected, without also exporting the parent row by itself (the parent row's columns are already prepended to the inner rows). If they require to export the parent row by itself as well, it would be a quick fix.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35971 Wed Jun 05 18:46:58 MDT 2013 art.zambrano ICE-9316 minor change to keep previous behaviour
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/OuterTableCSVExporter.java
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: