#25212 [NEW]: PECL::SOAP soapfault mixed up parameters
| From: | novicky at aarongroup dot cz | Date: | Fri, 22 Aug 2003 16:45:06 +0000 |
| Subject: | #25212 [NEW]: PECL::SOAP soapfault mixed up parameters | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20410@lists.php.net to get a copy of this message | ||
From: novicky at aarongroup dot cz
Operating system: any
PHP version: Irrelevant
PHP Bug Type: PECL related
Bug description: PECL::SOAP soapfault mixed up parameters
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 bug report at http://bugs.php.net/?id=25212&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25212&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25212&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25212&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25212&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25212&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25212&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25212&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25212&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25212&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25212&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25212&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25212&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25212&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25212&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25212&r=gnused