zendframework / zf1

This project reached its end-of-life on 2016-09-28. Contains conversion of ZF1 subversion repo to git, from version 15234 forward, and only containing master and release-1.12 branches and 1.12 tags.
https://framework.zend.com/blog/2016-06-28-zf1-eol.html
BSD 3-Clause "New" or "Revised" License
357 stars 802 forks source link

Fix to restore error_handler before throw exception #722

Open AyrtonRicardo opened 8 years ago

AyrtonRicardo commented 8 years ago

When for whatever reason we use a "navigator.xml" file and it doesn't exists, an exception is throw and still with the error_handler as _loadFileErrorHandler instead of our error_handler.

This caused some bugs on our application.

Our Solution/workaround: Catch that exception; restore error_handler; continue.

froschdesign commented 8 years ago

We are sorry, but ZF1 reaches its End of Life (EOL).

AyrtonRicardo commented 8 years ago

@froschdesign no problem, at least that PR will help someone who has the same problem .