google-code-export / zfdebug

Automatically exported from code.google.com/p/zfdebug
Other
1 stars 1 forks source link

Time plugin does not catch Zend_Session exceptions #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Cause Zend_Session to throw an exception ie: change your session save_path 
permissions so it is not writable.

What is the expected output?
ZFDebug panel.

What do you see instead?
Nothing. No exception is logged when error_reporting and display_errors is set, 
and the ZF Error Handler plugin (if enabled) might not get a chance to catch in 
some cases.

What version of the product are you using? On what operating system?
1.5, Linux

Please provide any additional information below.
If no session is started and the Time plugin calls Zend_Session::start() where 
an exception is thrown, it causes the ZFDebug plugin to fail silently and 
render nothing.

Original issue reported on code.google.com by bea...@gmail.com on 17 Sep 2010 at 6:54