flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-33163) When a collection reset event is received by List selectedItem is not always cleared
Date Wed, 09 Jan 2013 20:04:12 GMT

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

Carol Frampton resolved FLEX-33163.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.10.0

Author: cframpton
Date: Wed Jan  9 19:56:29 2013
New Revision: 1431034

URL: http://svn.apache.org/viewvc?rev=1431034&view=rev
Log:
FLEX-33163 - if a List's dataProvider receives a "reset" collection event, even if the selectedIndex
doesn't change, the selectedItem does, so a "valueCommit" event must be dispatched to trigger
bindings on selectedItem.

Add new List_events_collectionKind_reset_bug test.

QE: Passed mustella tests for spark List, Spinner, ButtonBar, and TabBar.

Modified:
    flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
    flex/sdk/branches/develop/mustella/tests/gumbo/components/List/events/list_events_tester.mxml
    flex/sdk/branches/develop/mustella/tests/gumbo/components/List/swfs/ListBasic.mxml

                
> When a collection reset event is received by List selectedItem is not always cleared
> ------------------------------------------------------------------------------------
>
>                 Key: FLEX-33163
>                 URL: https://issues.apache.org/jira/browse/FLEX-33163
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Adobe Flex SDK 4.5.1 (Release)
>            Reporter: Giles Roadnight
>            Assignee: Carol Frampton
>             Fix For: Apache Flex 4.10.0
>
>         Attachments: IntegrationTestModule.mxml
>
>
> If a CollectionEvent with CollectionEventKind of RESET is dispatched by an IList that
is the dataProvider for a List a selectedItem in that List will not be removed if the reset
dataProvider has an item at the same index.

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