[
https://issues.apache.org/jira/browse/FLEX-28803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-28803:
---------------------------------
Labels: easyfix easytest (was: easytest)
> ArrayList dispatches wring COLLECTION_CHANGE event
> --------------------------------------------------
>
> Key: FLEX-28803
> URL: https://issues.apache.org/jira/browse/FLEX-28803
> Project: Apache Flex
> Issue Type: Bug
> Components: Collections
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easyfix, easytest
>
> Steps to reproduce:
> var p:Point = new Point(1,2);
> var list:ArrayList = new ArrayList([p]);
> p.x = 2;
> list.itemUpdated(p, "x", 1, 1);
>
> Actual Results:
> COLLECTION_CHANGE event dispatched with a PropertyChangeEvent contained in
> the items property
>
> Expected Results:
> COLLECTION_CHANGE event dispatched with a p contained in the items property
>
> Workaround (if any):
> This can be solved by replacing line 706 in ArrayList.as with:
> internalDispatchEvent(CollectionEventKind.UPDATE, event.item);
--
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