ZF2-160: Cannot send Array of Objects From Flex to Zend Amf PHP Server

Issue Type: Bug Created: 2012-02-12T07:34:00.000+0000 Last Updated: 2012-07-09T13:19:24.000+0000 Status: Resolved Fix version(s): Reporter: Tayfun Güler (tayfun83) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Amf

Related issues: Attachments:


I´m trying to send an array of objects from flex to a zend amf php server. every time, when i make the call, i get this error:

( bubbles = false cancelable = false currentTarget = ( client = ( connected = false httpIdleTimeout = 0 maxPeerConnections = 32 objectEncoding = 3 proxyType = "none" uri = "http://localhost/project/gateway.php" eventPhase = 2 info = (Object)#2 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = ( type = "netStatus"

when i make the call with null as param:"UserService.updateTable",_exportNewAndUpdatedUsersToServer,null); no error appears.

but when i give an array of objects (result from sql query), i get the error.


Posted by Matthew Weier O'Phinney (matthew) on 2012-07-09T13:19:24.000+0000

We are going to be removing Zend\AMF from the ZF2 distribution, until such time as we have somebody willing to step forward and maintain it. In the meantime, please use either Zend_Amf from ZF1, or AMFPHP.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.