ICEfaces
  1. ICEfaces
  2. ICE-7793

ace:dataTable - input field values in a collapsed panel in a data table are carried over

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: EE-3.0.0.BETA, 3.0.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      The test case scenario. Panel expansion for a data table row contains another data table which has input fields on each row. expand a row, enter value in the input fields in the nested rows. collapse the row. refresh the outer data table with different filters, expand the same row (based on row index). The old values are displayed instead of new values.

      This is only an issue if the row is contracted after entering the values.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case and source code.

        Steps to reproduce issue:

        • Click on Load List #1 button, dataTable is loaded with two rows.
        • Expand the first row, nested dataTable is shown.
        • Enter in some text to the nested dataTable input field.
        • Contract the row.
        • Click on Load List #2 button, dataTable is loaded with new data.
        • Expand the first row, text that was entered in with the first set of data is still displayed.

        If the row isn't contracted between changed the data doesn't get copied.

        Show
        Arran Mccullough added a comment - Attached test case and source code. Steps to reproduce issue: Click on Load List #1 button, dataTable is loaded with two rows. Expand the first row, nested dataTable is shown. Enter in some text to the nested dataTable input field. Contract the row. Click on Load List #2 button, dataTable is loaded with new data. Expand the first row, text that was entered in with the first set of data is still displayed. If the row isn't contracted between changed the data doesn't get copied.
        Hide
        Nils Lundquist added a comment -

        Revision #27955
        Committed by nils.lundquist 8 minutes ago
        ICE-7793 - Stopped DataTable panel contraction from iterating target panel children.

        Show
        Nils Lundquist added a comment - Revision #27955 Committed by nils.lundquist 8 minutes ago ICE-7793 - Stopped DataTable panel contraction from iterating target panel children.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: