ZF-10920: XML_RPC not working
Description
Hi,
I've just detected that the communication functionality based on xml_rpc stoped working when I upgraded from 1.11.1 to 1.11.2.
I have now rolled back the upgrade to 1.11.1 again and things are working again.
At code level the problem seems to start at : Zend_XmlRpc_Response:__toString()
It looks like the server is formatting the xml response wrong, for example;
<?xml version="1.0" encoding="UTF-8"?>
ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
Comments
Posted by Jens-Christian Skibakk (jenscski) on 2011-01-05T23:44:04.000+0000
I have the same issue, and have found out that the problem is a commit to Zend_XmlRpc_Value, which broke many amongst other things the support for structs (or associative arrays)
Se diff for a fix (not tested for all return types).
http://pastebin.com/SBNJjeNH
Posted by Ramon Henrique Ornelas (ramon) on 2011-01-06T08:47:49.000+0000
I believe that this issue already was fixed with ZF-8580 but not was merged to branch release 1.11. You could try reproduced with version of the trunk to confirmed this correction.
Greetings Ramon Henrique Ornelas
Posted by Jens-Christian Skibakk (jenscski) on 2011-01-06T23:13:06.000+0000
I did a checkout of the XmlRpc code in trunk, replaced all files i the 1.11 branch with the trunk files, that fixed it!
Posted by Ramon Henrique Ornelas (ramon) on 2011-01-07T06:12:18.000+0000
Was fixed? Because tomorrow i will review this issue together with tests, to merged with branch release 1.11.
Posted by Ramon Henrique Ornelas (ramon) on 2011-01-08T13:19:36.000+0000
The merge r23584 incomplete fixed with r23624 - thanks.