FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16145&edit=1

ID: 16145
Updated by: daniel.oconnor@gmail.com
Reported By: jason dot playne at anfiuwp dot org dot au
Summary: Exception Codes not being used by class
"XML_RPC2_FaultException"
Status: Open
Type: Bug
Package: XML_RPC2
Operating System: N/A
Package Version: 1.0.5
PHP Version: 5.2.9
-Assigned To:
+Assigned To: sergiosgc
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: sergiosgc




Previous Comments:
------------------------------------------------------------------------

[2009-04-23 08:42:48] bluntelk

The following patch has been added/updated:

Patch Name: XML_RPC2-Client-Fault-Code-Patch
Revision: 1240472568
URL:
http://pear.php.net/bugs/patch-display.php?bug=16145&patch=XML_RPC2-Client-Fault-Code-Patch&revision=1240472568&display=1

------------------------------------------------------------------------

[2009-04-23 08:17:02] bluntelk

Description:
------------
The XML_RPC2_FaultException class is currently not setting the fault
code when calling the parent constructor, for the fix, please see the
content in the "Test Script" box

Test script:
---------------
File: PEAR/XML/RPC2/Exception.php
Line: 217

Currently Reads:
parent::__construct($messageString);

Should Read:
parent::__construct($messageString, $faultCode);

Expected result:
----------------
The correct fault code being used!

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 24, '09 at 3:29a
activeApr 24, '09 at 3:29a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase