[
https://issues.apache.org/jira/browse/FLEX-34862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harbs resolved FLEX-34862.
--------------------------
Resolution: Fixed
> RTE on ListBase when dataProvider is changed
> --------------------------------------------
>
> Key: FLEX-34862
> URL: https://issues.apache.org/jira/browse/FLEX-34862
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: List
> Affects Versions: Apache Flex 4.13.0
> Reporter: Harbs
> Assignee: Harbs
> Priority: Minor
>
> Changing the dataProvider causes a rollOut event when itemRollOut has an
> event assigned to the List. If the dataProvider has less items, there's a RTE
> at dataProvider.getItemAt(itemIndex).
> I believe the correct way to fix this is to check that the dataProvider
> exists and the correct index exists. Although, even this can cause the event
> to be dispatched referencing a new item in the new provider.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)