[
https://issues.apache.org/jira/browse/FLEX-33683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Wilkinson updated FLEX-33683:
------------------------------------
Attachment: AddAllOrder.mxml
Example attached
> Bad ordering of ListCollectionView addAllAt
> -------------------------------------------
>
> Key: FLEX-33683
> URL: https://issues.apache.org/jira/browse/FLEX-33683
> Project: Apache Flex
> Issue Type: Bug
> Components: Collections
> Affects Versions: Apache Flex 4.10.0
> Environment: Flex 4.10 (compiled for AIR 3.4, Flash Player 11.4
> Reporter: Marcus Wilkinson
> Attachments: AddAllOrder.mxml
>
>
> Steps to repro:
> * Create an ArrayCollection (collectionA) with N elements
> * Create a second ArrayCollection (collectionB) with less than N elements
> * Call collectionA.adAll(collectionB)
> Expected result:
> All elements of collectionB are added to the *end* of collectionA
> Actual Result
> All elements of collectionB are added to collectionA at position
> (collectionB.length)
> Suggested fix:
> ListCollectionView.addAllAt : 665
> Change
> var maxLength:int = length
> to
> var maxLength:int = this.length;
--
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