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

Drag-Drop a line when lockedRowCount is large throws RTE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • ADG:Display
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: Japanese

    Description

      Steps to reproduce:
      1. lockedRowCount is set to 20.
      2. run the swf file.
      3. drag a line and drop it.

      Actual Results:
      TypeError: Error #1010: 条件は未定義であり、プロパティがありません。(undefined item, there' s no property.)
      at mx.controls.listClasses::AdvancedListBase/collectionChangeHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:7537]
      at mx.controls::AdvancedDataGridBaseEx/collectionChangeHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:5378]
      at mx.controls::AdvancedDataGrid/collectionChangeHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:5972]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ListCollectionView/dispatchEvent()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:833]
      at mx.collections::ListCollectionView/removeItemsFromView()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1399]
      at mx.collections::ListCollectionView/listChangeHandler()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1059]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.collections::ArrayList/internalDispatchEvent()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ArrayList.as:510]
      at mx.collections::ArrayList/removeItemAt()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ArrayList.as:363]
      at mx.collections::ListCollectionView/removeItemAt()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:601]
      at ListCollectionViewCursor/remove()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1973]
      at mx.controls.listClasses::AdvancedListBase/dragDropHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:8416]
      at mx.controls::AdvancedDataGrid/dragDropHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:2555]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9308]
      at mx.managers.dragClasses::DragProxy/_dispatchDragEvent()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:349]
      at mx.managers.dragClasses::DragProxy/mouseUpHandler()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\dragClasses\DragProxy.as:584]

      Expected Results:
      No RTE.

      Workaround (if any):
      AdvancedListBase.as→collectionChangeHandler()→if (listItems.length && listItems[lockedRowCount].length)
      listItems[lockedRowCount] is null.

      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: