Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK Next
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Execute below code and click on "Set selectedIndex to outOfRange"
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function button1_clickHandler(event:MouseEvent):void
]]
>
</fx:Script>
<s:Button label="Set selectedIndex to outOfRange" click="button1_clickHandler(event)" />
<s:Accordion id="vAccordion" >
<s:AccordionContent id="ac1" label="Accordion Content 1">
<s:Button label="Test Button"/>
</s:AccordionContent>
<s:AccordionContent id="ac2" label="Accordion Content 2">
<s:TextInput text="TextInput" width="60" />
</s:AccordionContent>
</s:Accordion>
</s:Application>
2.
3.
Actual Results:
RTE
Expected Results:
Accordion should ignore invalid\outOfRange values and not RTE.
Workaround (if any):