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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000KEDzw]
        Arran Mccullough made changes -
        Attachment Case10824Example.zip [ 13942 ]
        Attachment Case10824ExampleWAR.zip [ 13943 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27087 Wed Jan 04 11:01:51 MST 2012 nils.lundquist ICE-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.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/DataExporterRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/Exporter.java
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Assignee Priority P1
        Assignee Nils Lundquist [ nils.lundquist ]
        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.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: