You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2014/02/24 01:27:19 UTC

[jira] [Resolved] (FLEX-34108) JSON.stringify and arraycollection

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

Justin Mclean resolved FLEX-34108.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.12.0

Added toJSON methods to ArrayCollection and ArrayList so that JSON.stringify works. Checked into develop branch.

If there is another release candidate of 4.12 it will be included in that otherwise get it from the nightly build or it will be in the next release after 4.12 (a point release or 4.13).

> JSON.stringify and arraycollection
> ----------------------------------
>
>                 Key: FLEX-34108
>                 URL: https://issues.apache.org/jira/browse/FLEX-34108
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Apache Flex 4.11.0
>         Environment: windows7, flashbuilder 4.7
>            Reporter: Fabiano Citrone
>            Assignee: Justin Mclean
>              Labels: easytest
>             Fix For: Apache Flex 4.12.0
>
>
> When JSON.stringify(object) used for an object which contains an attribute of type "ArrayCollection", it throws an error.
> Error: Unknown Property: 'dispatchResetEvent'.
> 	at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/collections/ListCollectionView.as:940]
> 	at JSON$/stringifySpecializedToString()
> 	at JSON$/stringify()



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)