flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33607) AsyncListView does not seem to handle item removal notification properly
Date Sun, 14 Jul 2013 02:26:48 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707924#comment-13707924
] 

Justin Mclean commented on FLEX-33607:
--------------------------------------

By shifting left it may actually be deleting them. So you have some sample code/something
to demo that this is an issue? Thanks.
                
> AsyncListView does not seem to 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}
> One of the consequences is that if you truncate the client list (ie remove N items at
the end) and send a remove notification, the pending responders are not removed
>  

--
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

Mime
View raw message