You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
I guess display_exceptions either need to be set in the view or the check should be removed and just do an isset($this->exception). I'm unable to find the exact point in time where this changed and stopped working.
The text was updated successfully, but these errors were encountered:
When there is a fallback exception the display_exceptions view variable is set along with the exception. If it's a 404/not found exception the exception is passed in, but display_exceptions is not.
The skeleton app uses an if ($this->display_exceptions) in order to check if exceptions should be displayed: https://github.com/zendframework/ZendSkeletonApplication/blob/master/module/Application/view/error/404.phtml#L49
But this view variable is never set, it's just used in the RouteNotFoundStrategy to inject the exception: https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/View/Http/RouteNotFoundStrategy.php#L275
I guess display_exceptions either need to be set in the view or the check should be removed and just do an isset($this->exception). I'm unable to find the exact point in time where this changed and stopped working.
The text was updated successfully, but these errors were encountered: