Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34862

RTE on ListBase when dataProvider is changed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.13.0
    • Fix Version/s: None
    • Component/s: Spark: List
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                harbs Harbs
                Reporter:
                harbs Harbs
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: