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

Cursor Seek in HierarchicalCollectionViewCursor operates on wrong child level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release), Apache Flex 4.12.1
    • Apache Flex 4.14.0
    • ADG:Grouping/TDG
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run attached MXML code
      2. Scroll to bottom
      3. Select "Item 3"
      4. Press "Delete" button

      Actual Results:
      Error: Bookmark no longer valid.
      at ListCollectionViewCursor/seek()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:2417]
      at mx.collections::HierarchicalCollectionViewCursor/collectionChangeHandler()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collections\HierarchicalCollectionViewCursor.as:1278]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::HierarchicalCollectionView/nestedCollectionChangeHandler()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collections\HierarchicalCollectionView.as:1589]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ListCollectionView/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1024]
      at mx.collections::ListCollectionView/removeItemsFromView()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1681]
      at mx.collections::ListCollectionView/listChangeHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1292]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ArrayList/internalDispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ArrayList.as:673]
      at mx.collections::ArrayList/removeItemAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ArrayList.as:491]
      at mx.collections::ListCollectionView/removeItemAt()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:762]
      at ListCollectionViewCursor/remove()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:2330]
      at mx.collections::HierarchicalCollectionView/removeChild()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collections\HierarchicalCollectionView.as:731]
      at HierarchicalDataException/deleteItem()[C:\Users\dcollie\Documents\Code\Eclipse\ubs-fb46\HierarchicalDataException\src\HierarchicalDataException.mxml:33]
      at HierarchicalDataException/___HierarchicalDataException_Button1_click()[C:\Users\dcollie\Documents\Code\Eclipse\ubs-fb46\HierarchicalDataException\src\HierarchicalDataException.mxml:56

      Expected Results:
      Item should delete without errors and the ADG should update to reflect this.

      Workaround (if any):
      None found yet.

      Attachments

        Issue Links

          Activity

            People

              evolverine Mihai Chira
              adobejira Adobe JIRA
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: