Closed tylkomat closed 8 years ago
Because of the EventManagerAwareInitializer that is set in ServiceManagerConfig the already configured EventManager in SendResponseListener gets overridden
As noted in #12, that initializer does not override the EM instance if one is already present, only if none was found and/or it has no SharedEventManager composed.
Thanks for the test case; I'll use this as a starting point for diagnosing the root cause.
Please see my comment on #12 for a workaround; I'll have a new version of zend-mvc tagged shortly addressing the issue.
To get the fix, please update your zend-mvc to 3.0.3:
$ composer require "zendframework/zend-mvc:^3.0.3"
Should be also related to issue #10.
Because of the
EventManagerAwareInitializer
that is set inServiceManagerConfig
the already configuredEventManager
inSendResponseListener
gets overridden and theConsoleResponseSender
is missing. Therefore any console related response can not be rendered.