Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 2.x
Language Found: English
Description
Steps to reproduce:
1. Run attached "Bug_removeItems.swf"
2. Click "remove first item"
The equivalent bug exists with a virtualized HorizontalLayout.
Actual Results:
An RTE is thrown:
RangeError: Error #1125: The index -1 is out of range 0.
at mx.layout::LinearLayoutVector/getMajorSize()[E:\dev\trunk\frameworks\projects\flex4\src\mx\layout\LinearLayoutVector.as:254]
at mx.layout::LinearLayoutVector/end()[E:\dev\trunk\frameworks\projects\flex4\src\mx\layout\LinearLayoutVector.as:370]
at mx.layout::VerticalLayout/measureVirtual()[E:\dev\trunk\frameworks\projects\flex4\src\mx\layout\VerticalLayout.as:910]
at mx.layout::VerticalLayout/measure()[E:\dev\trunk\frameworks\projects\flex4\src\mx\layout\VerticalLayout.as:965]
at mx.components.baseClasses::GroupBase/measure()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\baseClasses\GroupBase.as:638]
at mx.core::UIComponent/measureSizes()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6326]
at mx.core::UIComponent/validateSize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6257]
at mx.managers::LayoutManager/validateSize()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:579]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:692]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9065]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9005]
Expected Results:
No RTE should be thrown. It should work as it does with virtualization turned off.
Workaround (if any):
Attachments
Issue Links
- relates to
-
FLEX-28291 Linear Vector Layout on the ComboBox
- Resolved