[
https://issues.apache.org/jira/browse/FLEX-21501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean resolved FLEX-21501.
----------------------------------
Resolution: Not A Problem
Fix Version/s: Apache Flex 4.10.0
Resolved in previous version of SDK - well almost. obj[''] =null will not be
copied but all other keys will be, as it's very unlikely that obj[''] = null
means anything and that it's using writeObject/readObject to copy (ie it's a
Flash Player issue) I think it's ok to resolve this bug.
> ObjectUtil.copy fails to copy objects that have key == null (it copies only
> half of the original object)
> --------------------------------------------------------------------------------------------------------
>
> Key: FLEX-21501
> URL: https://issues.apache.org/jira/browse/FLEX-21501
> Project: Apache Flex
> Issue Type: Bug
> Components: .Unspecified - Framework
> Affects Versions: Adobe Flex SDK 3.4 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Fix For: Apache Flex 4.10.0
>
>
> hey guys! great work! I love flex/as3 while i just simply never found a way
> to comprehend as2.
> Germans love to flex.
> And i would be glad if i can help make it even better.
> I did a crazy thing and ended up having an key null in an object.
> now i used ObjectUtil.copy to copy that object to make an independent copy.
> but it would only copy all properties until reaching the property 'null' and
> then aborts copying.
> which results in object-copies that are only half-copied.
> i guess many more flex-functions can not handle objects that have key ==
> null.
> attached u will find an example flex-project that reproduces the error and
> also shows an workaround that i am currently using.
> hope it helps and mostly: get's the job done! ;)
> keep it up.
--
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