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 73BD51095A for ; Wed, 10 Jul 2013 17:35:49 +0000 (UTC) Received: (qmail 99441 invoked by uid 500); 10 Jul 2013 17:35:49 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 99392 invoked by uid 500); 10 Jul 2013 17:35:49 -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 99346 invoked by uid 99); 10 Jul 2013 17:35:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 17:35:48 +0000 Date: Wed, 10 Jul 2013 17:35:48 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33607) AsyncListView does not handle item removal notification properly 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-33607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maurice Amsellem updated FLEX-33607: ------------------------------------ Description: When notifying an AsyncListView that items have been removed, the itemResponders matching the items to the right of the removal are shifted to the left, which is correct, but the itemResponders for the removed items themselves are not removed. {code} mx.collections.AsyncListView.as private function handleCollectionChangeEvent(ce:CollectionEvent):void { ... switch (ce.kind) { ... case CollectionEventKind.REMOVE: shiftPendingRespondersLeft(ce); break; {code} was: When notifyin an AsyncListView, the items to the right of the removal are shifted to the left, which is correct, but the removed items themselves are not removed. {code} mx.collections.AsyncListView.as private function handleCollectionChangeEvent(ce:CollectionEvent):void { ... switch (ce.kind) { ... case CollectionEventKind.REMOVE: shiftPendingRespondersLeft(ce); break; {code} The main effect is that if you truncate > AsyncListView does not handle item removal notification properly > ---------------------------------------------------------------- > > Key: FLEX-33607 > URL: https://issues.apache.org/jira/browse/FLEX-33607 > Project: Apache Flex > Issue Type: Bug > Components: ASyncListView > Affects Versions: Apache Flex 4.9.0 > Reporter: Maurice Amsellem > > When notifying an AsyncListView that items have been removed, the itemResponders matching the items to the right of the removal are shifted to the left, which is correct, but the itemResponders for the removed items themselves are not removed. > {code} > mx.collections.AsyncListView.as > private function handleCollectionChangeEvent(ce:CollectionEvent):void > { > ... > switch (ce.kind) > { > ... > case CollectionEventKind.REMOVE: > shiftPendingRespondersLeft(ce); > break; > {code} > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira