View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000747 | Xdebug | Uncategorized | public | 2011-11-15 10:48 | 2012-02-22 21:42 |
| Reporter | jboffel | Assigned To | derick | ||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.1.0 | ||||
| Summary | 0000747: Still problem with error message and soap client / soap server | ||||
| Description | Hi Derick, I couldn't reopen the issue 609 unfortunately so I create a new one here. I tried your patch and it's working well, just one thing I think is a copy paste mistake in the new function check_soap_call in xdebug.c, you tried 2 times if it is class name SoapClient, I guess you wanted to try SoapClient/SoapServer. Also I believe after that than the first hack you made, still in xdebug.c working on HTTP_SOAPACTION, to check for soap header is not more necessary... | ||||
| Tags | No tags attached. | ||||
| Attached Files | 747.patch (473 bytes)
diff --git a/xdebug.c b/xdebug.c
index c09dd30..9eb520c 100644
--- a/xdebug.c
+++ b/xdebug.c
@@ -1359,7 +1359,7 @@ static int check_soap_call(function_stack_entry *fse)
if (fse->function.class &&
(
(strstr(fse->function.class, "SoapClient") != NULL) ||
- (strstr(fse->function.class, "SoapClient") != NULL)
+ (strstr(fse->function.class, "SoapServer") != NULL)
) &&
(zend_hash_find(&module_registry, "soap", 5, (void**) &tmp_mod_entry) == SUCCESS)
) {
| ||||
| Operating System | |||||
| PHP Version | 5.3.8 | ||||
|
|
I can confirm this with PHP 5.4.0RC8-dev and Xdebug v2.2.0-dev. The following code, modified from 0000609 to use SoapServer replicates the error: <?php //xdebug_disable(); ?> Changing the line in xdebug.c mentioned by jboffel fixes the issue. |
|
|
This should be fixed now. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-15 10:48 | jboffel | New Issue | |
| 2012-02-12 17:27 | cbuckley | File Added: 747.patch | |
| 2012-02-12 17:29 | cbuckley | Note Added: 0001912 | |
| 2012-02-22 21:42 | derick | Note Added: 0001924 | |
| 2012-02-22 21:42 | derick | Status | new => closed |
| 2012-02-22 21:42 | derick | Assigned To | => derick |
| 2012-02-22 21:42 | derick | Resolution | open => fixed |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |