ICEfaces
  1. ICEfaces
  2. ICE-7630

ace:dataExporter - using selectedRowsOnly exports incorrect data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.RC1, 3.0.RC2
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.0 RC1a Build7, ICEfaces 3 trunk
    • Assignee Priority:
      P1

      Description

      Incorrect data gets exported when exporting a dataTable that uses an inputText field for a column. This only occurs when selectedRowsOnly=true is set on the ace:dataExporter component.

      Instead of the selected rows content, the first rows content is exported. For example:
       - First row contains an outputText ("Item One") and an inputText ("Item Two")
       - Second row contains an outputText ("Item Three") and an inputText ("Item Four")
       - Select the second row and click the export button exports a mix of data:
          - "Item Three" "Item Two"

      It seems to always export the data in the first row for the column that contains the input field.

        Activity

        Hide
        Nils Lundquist added a comment -

        Revision #27087
        Committed by nils.lundquist

        CE-7630 - Removed export resource gen logic grabbing incoming input for editable value holders. Changed resource generation to occur following decoding, values will have already been processed by input components. This logic was responsible for incorrect decoding when using onlySelectedRows export.

        Show
        Nils Lundquist added a comment - Revision #27087 Committed by nils.lundquist CE-7630 - Removed export resource gen logic grabbing incoming input for editable value holders. Changed resource generation to occur following decoding, values will have already been processed by input components. This logic was responsible for incorrect decoding when using onlySelectedRows export.

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: