flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34862) RTE on ListBase when dataProvider is changed
Date Sun, 31 May 2015 08:52:17 GMT
Harbs created FLEX-34862:
----------------------------

             Summary: 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