flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33607) AsyncListView does not seem to handle item removal notification properly
Date Mon, 15 Jul 2013 09:38:48 GMT

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

Maurice Amsellem updated FLEX-33607:
------------------------------------

    Attachment:     (was: AsyncListViewTest.as)
    
> 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
>         Attachments: AsyncListViewTest.as, SimplePagedList.as
>
>
> 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