6.0.0-alpha14
7/3/25

[#3100] PEAR_Error is not correct evaluated by xmlrpc_server bundled with PHP
Summary PEAR_Error is not correct evaluated by xmlrpc_server bundled with PHP
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester fse (at) camline (dot) com
Created 12/07/2005 (7148 days ago)
Due
Updated 07/02/2006 (6941 days ago)
Assigned 12/07/2005 (7148 days ago)
Resolved 07/02/2006 (6941 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
07/02/2006 12:48:33 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, see bug 4097.
12/07/2005 06:54:27 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
12/07/2005 07:41:41 AM fse (at) camline (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ PEAR_Error is not correct evaluated by xmlrpc_server bundled with PHP
Queue ⇒ Horde Framework Packages
New Attachment: xmlrpc.php.patch Download
Reply to this comment
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...

Saved Queries