Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16263

ListBase method setSelectionDataLoop() stuck and hangs killing application.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.1 (Release)
    • None
    • MXML Components
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a tree
      2. Create Data source for it with hierarchical structure (at least 2 levels)
      3. Apply filter to the data source and make number of element displayed in the tree smaller
      4. Set one of the remain element selected via Tree.selectedItem

      Actual Results:
      Application completely dying

      Expected Results:
      Desired element being selected and highlights in the Tree

      Workaround (if any):
      There is no workaround.

      >> In current example to kill the application it is enough to just press one of the buttons.

      Bug is in ListBase.setSelectionDataLoop() {}
      the loop :
      while (items.length && !collectionIterator.afterLast)

      {.....}

      never ending because collectionIterator.afterLast always false even if we reached end of the array.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: