ICEfaces
  1. ICEfaces
  2. ICE-11070

Improve data structure in ace:tree

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.RC1
    • Fix Version/s: 4.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 8, all browsers

      Description

      When using the showcase ace:tree > selection demo it was noticed that selected values were not always returned in the same order, depending on the server that the app was deployed on. For example the order was the same on tomcat 8 and glassfish 4, but different with wildfly 10.
      As per Ken "The underlying data structure being used to store the selected items does not guarantee the order they are returned in. In order to improve this for automation purposes, we should use a different structure that does guarantee the order. "

        Activity

        Hide
        Arturo Zambrano added a comment -

        r52002: changed underlying data structure in NodeStateMap from HashMap to LinkedHashMap, which is an implementation of the Map interface with predictable iteration order

        Show
        Arturo Zambrano added a comment - r52002: changed underlying data structure in NodeStateMap from HashMap to LinkedHashMap, which is an implementation of the Map interface with predictable iteration order

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: