MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000747XdebugUsage problems (Wrong Results)public2011-11-15 10:482012-02-22 21:42
Reporterjboffel 
Assigned Toderick 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.1.0 
Target VersionFixed in Version 
Summary0000747: Still problem with error message and soap client / soap server
DescriptionHi 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...
TagsNo tags attached.
Operating System
PHP Version5.3.8
Attached Filespatch file icon 747.patch [^] (473 bytes) 2012-02-12 17:27 [Show Content]

- Relationships

-  Notes
(0001912)
cbuckley (reporter)
2012-02-12 17:29

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();
try {
    $sc = new SoapServer('some-wrong.wsdl', array('exceptions' => 'true'));
} catch (Exception $e) {
    echo 'Error Caught :-)';
}

?>

Changing the line in xdebug.c mentioned by jboffel fixes the issue.
(0001924)
derick (administrator)
2012-02-22 21:42

This should be fixed now.

- Issue History
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 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker