Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11C6D10731 for ; Tue, 18 Nov 2014 08:27:34 +0000 (UTC) Received: (qmail 41165 invoked by uid 500); 18 Nov 2014 08:27:33 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 41141 invoked by uid 500); 18 Nov 2014 08:27:33 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 41132 invoked by uid 99); 18 Nov 2014 08:27:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2014 08:27:33 +0000 Date: Tue, 18 Nov 2014 08:27:33 +0000 (UTC) From: "Erik de Bruin (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-34634) DataGroup fires RendererExistenceEvent with a null renderer when an offscreen item is removed/replaced in the dataProvider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik de Bruin resolved FLEX-34634. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.14.0 Fixed with a50a8d0ed7b61686704c9d11224c91f9e6083026 > 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 > Assignee: Erik de Bruin > Priority: Minor > Labels: eastyest, easyfix > Fix For: Apache Flex 4.14.0 > > Attachments: flex-34634.patch, 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)