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

commitProperties never sets openItemsChanged back to false, which may in turn will cause selection to be lost.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: Tree
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. set openItems with a hierarchy of nodes that you would like to open.
      2. do something that will call invalidateProperties
      3. commitProperties while then be called which will reset the dataprovider on every successive commitProperties
      4. this cause an CollectionEvent.REST
      5. this will cause the selection to be lost.

      Actual Results:
      selection should not be lost.

      Expected Results:
      this may cause the selection to be lost.

      Workaround (if any):
      use expandItem or expandChildrenOf instead.
      if you use expandItem, you will have to expand the whole hierarchy, from the top down., This is a bit of a pain.
      if you use expandChildrenOf, this expands all children on each level, which may not be what you want.

      it would be far easier if I could set openItem on the tree.

      There is no where in the source code from tree where openItemsChanged get set back to false!

      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: