flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-34862) RTE on ListBase when dataProvider is changed
Date Mon, 01 Jun 2015 06:54:17 GMT

     [ 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)

Mime
View raw message