ICEfaces
  1. ICEfaces
  2. ICE-5489

Changing values for a component using setEventPhase causes data to be out of sync

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA
    • Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Instructions on how to reproduce this in the component showcase:
      - Set the setEventPhase enabled
      - Select Canada (by mouse)
      - Quickly press the down-arrow on the key board twice
      - Now China is the selected Country, but the Cities show United States cities and the window below shows United States and Seattle

      Test Case from customer:

      In my Application I have use a table with selectable rows. Below the table a have an input component inputText, that must be updated with information belonging to the selected row. If I change the selected row very quickly, the input parameter is updated with the wrong value belonging to the wrong row, consequence of this is that my datamodel is filled with the wrong data. I am also using setEventPhase INVOKE_APPLICATION for the rowselector.

        Issue Links

          Activity

          Hide
          Mark Collette added a comment -

          Part of this problem is that we're rapidly partial submitting back to the server, most of which is unnecessary and unwanted. ICE-5522 would address that.

          Show
          Mark Collette added a comment - Part of this problem is that we're rapidly partial submitting back to the server, most of which is unnecessary and unwanted. ICE-5522 would address that.
          Hide
          Mark Collette added a comment -

          This is resolved by ICE-5522. The setEventPhase example was originally readily reproducible remotely, and only occasionally reproducible locally. Now it is not reproducible in either scenario.

          Show
          Mark Collette added a comment - This is resolved by ICE-5522 . The setEventPhase example was originally readily reproducible remotely, and only occasionally reproducible locally. Now it is not reproducible in either scenario.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: