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

DataGroup fires RendererExistenceEvent with a null renderer when an offscreen item is removed/replaced in the dataProvider

    XMLWordPrintableJSON

Details

    Description

      To me this looks like a bug in DataGroup.

      It looks like a fairly easy fix. I think a null check is needed around the dispatchEvent call at: https://github.com/apache/flex-sdk/blame/930b545e0cfad5c7ae8f08cd29e21a144d08227b/frameworks/projects/spark/src/spark/components/DataGroup.as#L1766

      I will attach a test case.

      Attachments

        1. flex-34634.patch
          2 kB
          Gareth Daniel Smith
        2. null-renderer-bug.zip
          1.06 MB
          Gareth Daniel Smith

        Activity

          People

            erik@ixsoftware.nl Erik de Bruin
            garethdanielsmith Gareth Daniel Smith
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: