[
https://issues.apache.org/jira/browse/FLEX-14913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-14913:
---------------------------------
Labels: easytest (was: )
> Dynamic tabs in TabNavigator getTabAt(i) throws RangeError: Error #2006
> -----------------------------------------------------------------------
>
> Key: FLEX-14913
> URL: https://issues.apache.org/jira/browse/FLEX-14913
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Tab Navigator
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easytest
>
> Steps to reproduce:
> 1. create a tabNavigator with a repeater to generate canvas children as tabs.
> 2. create a [Bindable] array and set the repeater dataProvider to this array
> 3. on tabNavigator creation complete call getTabAt(#);
> if you set dataProvider="{new Array(3)}" inline there is no problem
> but when you set the dataProvider=new Array(3) from a function (like the
> creation complete handler for the application) this error is thrown
>
> Actual Results:
> RangeError: Error #2006 is thrown
>
> Expected Results:
> a button instance should be returned
>
> Workaround (if any):
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira