[Tickets #3100] NEW: PEAR_Error is not correct evaluated by xmlrpc_server bundled with PHP

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Dec 6 23:41:42 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3100
-----------------------------------------------------------------------
 Ticket             | 3100
 Created By         | fse at camline.com
 Summary            | PEAR_Error is not correct evaluated by xmlrpc_server bundled with PHP
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | xmlrpc.php.patch
-----------------------------------------------------------------------


fse at camline.com (2005-12-06 23:41) wrote:

if a server method returns a PEAR_Error object, then the xmlrpc_server
bundled with PHP 5.1.1 returns the error message 'No valid XML data
returned', because it seems not to expect a PEAR_Error object but rather an
hash array with keys 'faultCode' and 'faultString'. The attached patch can
fix this problem, but I don't now, whether there are xmlrpc implementations
which can deal with PEAR_Error. Then maybe this error conversion has to be
enabled/disabled via configuration...




More information about the bugs mailing list