[ https://issues.apache.org/jira/browse/FLEX-21541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-21541. ---------------------------------- Resolution: Not A Problem RangeError should be throws as per the documentation. > ArrayCollection setItemAt throws RangeError > ------------------------------------------- > > Key: FLEX-21541 > URL: https://issues.apache.org/jira/browse/FLEX-21541 > Project: Apache Flex > Issue Type: Bug > Components: .Unspecified - Framework > 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 > > Steps to reproduce: > var a:ArrayCollection = new ArrayCollection(); > a.setItemAt("test",0); > Actual Results: > RangeError is thrown > > Expected Results: > the item at index 0 is inserted into the ArrayCollection, to behave like the > [] operator on Arrays. In the docs there is also no notation of the RangeError > > Workaround (if any): > make sure the source array of the ArrayCollection is big enough -- 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