Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.5

Bug #16145 Exception Codes not being used by class "XML_RPC2_FaultException"
Submitted: 2009-04-23 12:17 UTC
From: bluntelk Assigned: sergiosgc
Status: Closed Package: XML_RPC2 (version 1.0.5)
PHP Version: 5.2.9 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2009-04-23 12:17 UTC] bluntelk (Jason Playne)
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!

Comments

 [2009-04-23 12:42 UTC] bluntelk (Jason Playne)
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-24 09:29 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: sergiosgc
 [2009-05-23 23:40 UTC] doconnor (Daniel O'Connor)
-Status: Assigned +Status: Closed
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.