ICEfaces
  1. ICEfaces
  2. ICE-9315

ace:dataExporter - Non-rendered content being 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

      The ace:dataExporter is exporting content that is not being rendered on the screen/dataTable. This happens when the content that is being exported is not directly under the ace:column tag. For example:

                              <ace:column headerText="Column One">
                                  <h:panelGroup>
                                      <h:outputText value="#{item.itemOne}"
                                                    rendered="#{testBean.render}"/>
                                  </h:panelGroup>
                              </ace:column>
      1. Case12005Example.zip
        21 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 reproduced the issue.

        Steps:

        • Click the Export button.
        • The non-rendered contents of the first column are exported in the csv file.
        Show
        Arran Mccullough added a comment - Attached test case that reproduced the issue. Steps: Click the Export button. The non-rendered contents of the first column are exported in the csv file.
        Arran Mccullough made changes -
        Attachment Case12005Example.zip [ 16004 ]
        Attachment Case12005ExampleWAR.zip [ 16005 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA [ 10572 ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P1 [ 10010 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35932 Wed Jun 05 12:56:33 MDT 2013 art.zambrano ICE-9315 ace:dataExporter - Non-rendered content being exported... fixed
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/Exporter.java
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 35932 and to 3.3 EE branch at revision 35933.

        Added a check in exportValue(), which is used recursively, to see if the component is rendered or not.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 35932 and to 3.3 EE branch at revision 35933. Added a check in exportValue(), which is used recursively, to see if the component is rendered or not.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: