#25212 [Opn->Csd]: PECL::SOAP soapfault mixed up parameters

From: Date: Wed, 01 Dec 2004 18:21:31 +0000
Subject: #25212 [Opn->Csd]: PECL::SOAP soapfault mixed up parameters
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1675@lists.php.net to get a copy of this message
ID: 25212 Updated by: tony2001@php.net Reported By: novicky at aarongroup dot cz -Status: Open +Status: Closed Bug Type: PECL related Operating System: any PHP Version: Irrelevant New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed a long time ago. Previous Comments: ------------------------------------------------------------------------ [2003-08-22 11:45:06] novicky at aarongroup dot cz Description: ------------ The soap client object has swapped parameters "faultstring" and "faultcode" in an array returned by method __getFault(). Here is a patch that fixes the problem. --- soap.c 14 Mar 2003 02:08:30 -0000 1.17 +++ soap.c 22 Aug 2003 16:39:29 -0000 @@ -1646,7 +1646,7 @@ { zval *fault; MAKE_STD_ZVAL(fault); - set_soap_fault(fault, fault_string, fault_code, fault_actor, fault_detail TSRMLS_CC); + set_soap_fault(fault, fault_code, fault_string, fault_actor, fault_detail TSRMLS_CC); add_property_zval(obj, "__soap_fault", fault); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25212&edit=1

« previous php.pecl.dev (#1675) next »