6.0.0-git
2019-03-24

[#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 2005-12-07 (4855 days ago)
Due
Updated 2006-07-02 (4648 days ago)
Assigned 2005-12-07 (4855 days ago)
Resolved 2006-07-02 (4648 days ago)
Milestone
Patch Yes

History
2006-07-02 12:48:33 Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, see bug 4097.
2005-12-07 18:54:27 Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
2005-12-07 07:41:41 fse (at) camline (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
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