You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Gareth Daniel Smith (JIRA)" <ji...@apache.org> on 2014/11/10 16:46:34 UTC

[jira] [Updated] (FLEX-34634) DataGroup fires RendererExistenceEvent with a null renderer when an offscreen item is removed/replaced in the dataProvider

     [ https://issues.apache.org/jira/browse/FLEX-34634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gareth Daniel Smith updated FLEX-34634:
---------------------------------------
    Attachment: null-renderer-bug.zip

This is a test case. It includes an Intellij project and a compiled example (in out/).

> DataGroup fires RendererExistenceEvent with a null renderer when an offscreen item is removed/replaced in the dataProvider
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34634
>                 URL: https://issues.apache.org/jira/browse/FLEX-34634
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGroup
>    Affects Versions: Apache Flex 4.13.0
>            Reporter: Gareth Daniel Smith
>            Priority: Minor
>         Attachments: null-renderer-bug.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)