ZF-8682: Error Handler Plugin + Layout Exceptions = Plugin broker bug

Description

Steps to reproduce

1 - user an error hander and use an error controller 2 - have an exception thrown during dispatching (unknown controller) 3 - error handler controller renders its message in the layout 4 - have a second exception get thrown ( eg wrong routes applied to a url view helper in the layout it is trying to render to)

Problem: suppresses all errors & exceptions!!!

See attached patch

Comments

Additionally it is really really needed to have a stack trace any time an uncaught exception occurs. See patch 2

Hi, Josh. I will be happy if you would show version or SVN trunk revision that you use :) Or the affects version might mean request for ver 2.0 ?

The problem happens on head revision of the trunk "1.10.0alpha"

should be fixed with ZF-11561, r24241