View Issue Details

IDProjectCategoryView StatusLast Update
0001285XdebugUsage problems (Wrong Results)public2016-12-12 00:02
ReporterlonejackAssigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformIntel I7OSLINUXOS VersionLinux claudio-i7
Product Version2.3.3 
Target VersionFixed in Version 
Summary0001285: When I set a BP in one position work fine, when I put it some line after I get a PHP exception
DescriptionFirst of all: not sure is a Xdebug problem!
So before to start a demo code I need an opinion.
Code problem:
$template = new DOMDocument();
$a = $template->load('myfile.xml');

$doc = new DOMDocument();
$doc->loadXML($config);

// ... do ....
// .. thigs ..


// dependencies: This line is on file LayoutRow.php at row numb 326

$deps = $doc->getElementsByTagName('dep'); // POINT_A

$depsList = array();
foreach ($deps as $dep) {

 $attributes = $dep->attributes;

 $ix = array();

 foreach ($attributes as $name => $attr) {
  $ix[$name] = $attr->nodeValue;
 }
 array_push($depsList, $ix);
}

// Now we erase the absent rows
$allRows = $routingTable->getRowsByTarget('layout', $this->id); // POINT_B


Steps To ReproduceIf I put a BP on POINT_A no problem.

If I put a BP on POINT_B I've this:
[12-Mar-2016 08:53:42 Europe/Berlin] PHP Warning: Application_Model_LayoutRow::_updateRouting(): Not yet implemented in /home/claudio/public_html/zftest/application/models/LayoutRow.php on line 343
[12-Mar-2016 08:53:42 Europe/Berlin] PHP Stack trace:
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 1. {main}() /home/claudio/public_html/zftest/public/api/1.0/jsonrpc.php:0
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 2. Zend_Json_Server->handle($request = *uninitialized*) /home/claudio/public_html/zftest/public/api/1.0/jsonrpc.php:67
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 3. Zend_Json_Server->_handle() /home/claudio/public_html/zftest/library/Zend/Json/Server.php:191
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 4. Zend_Server_Abstract->_dispatch($invocable = *uninitialized*, $params = *uninitialized*) /home/claudio/public_html/zftest/library/Zend/Json/Server.php:561
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 5. call_user_func_array:{/home/claudio/public_html/zftest/library/Zend/Server/Abstract.php:232}(*uninitialized*, *uninitialized*) /home/claudio/public_html/zftest/library/Zend/Server/Abstract.php:232
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 6. Application_Model_JsonRpc->updateLayout($id = *uninitialized*, $config = *uninitialized*) /home/claudio/public_html/zftest/library/Zend/Server/Abstract.php:232
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 7. Application_Model_ContentRow->save() /home/claudio/public_html/zftest/application/models/JsonRpc.php:258
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 8. Zend_Db_Table_Row_Abstract->save() /home/claudio/public_html/zftest/application/models/ContentRow.php:83
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 9. Zend_Db_Table_Row_Abstract->_doUpdate() /home/claudio/public_html/zftest/library/Zend/Db/Table/Row/Abstract.php:440
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 10. Application_Model_LayoutRow->_update() /home/claudio/public_html/zftest/library/Zend/Db/Table/Row/Abstract.php:525
[12-Mar-2016 08:53:42 Europe/Berlin] PHP 11. Application_Model_LayoutRow->_updateRouting() /home/claudio/public_html/zftest/application/models/LayoutRow.php:398

So it seems that bepween (A) and (B) happen somenthing...
I send you also the xdebug log

Bye
Claudio
TagsNo tags attached.
Operating System
PHP Version5.5.5-5.5.9

Activities

lonejack

2016-03-12 07:57

reporter  

xdebug.log (80,084 bytes)

derick

2016-12-12 00:02

administrator   ~0004019

This error comes from PHP's DOM extension, which doesn't have everything that it should have implemented.

derick

2016-12-12 00:02

administrator   ~0004020

This error comes from PHP's DOM extension, which doesn't have everything that it should have implemented.

Issue History

Date Modified Username Field Change
2016-03-12 07:57 lonejack New Issue
2016-03-12 07:57 lonejack File Added: xdebug.log
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)
2016-12-12 00:02 derick Note Added: 0004019
2016-12-12 00:02 derick Status new => resolved
2016-12-12 00:02 derick Resolution open => not fixable
2016-12-12 00:02 derick Assigned To => derick
2016-12-12 00:02 derick Note Added: 0004020
2016-12-12 00:02 derick Category (No Category) => Usage problems (Wrong Results)