{"action":"opened","issue":{"url":"https://api.github.com/repos/zendframework/zend-mvc-console/issues/12","repository_url":"https://api.github.com/repos/zendframework/zend-mvc-console","labels_url":"https://api.github.com/repos/zendframework/zend-mvc-console/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-mvc-console/issues/12/comments","events_url":"https://api.github.com/repos/zendframework/zend-mvc-console/issues/12/events","html_url":"https://github.com/zendframework/zend-mvc-console/issues/12","id":164709907,"number":12,"title":"Invalid attaching of the ConsoleResponseSender listener","user":{"login":"fedys","id":6388925,"avatar_url":"https://avatars.githubusercontent.com/u/6388925?v=3","gravatar_id":"","url":"https://api.github.com/users/fedys","html_url":"https://github.com/fedys","followers_url":"https://api.github.com/users/fedys/followers","following_url":"https://api.github.com/users/fedys/following{/other_user}","gists_url":"https://api.github.com/users/fedys/gists{/gist_id}","starred_url":"https://api.github.com/users/fedys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedys/subscriptions","organizations_url":"https://api.github.com/users/fedys/orgs","repos_url":"https://api.github.com/users/fedys/repos","events_url":"https://api.github.com/users/fedys/events{/privacy}","received_events_url":"https://api.github.com/users/fedys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T10:42:27Z","updated_at":"2016-07-10T10:42:27Z","closed_at":null,"body":"This issue is related to the #10 \r\n\r\nBecause of the [ConsoleResponseSender](https://github.com/zendframework/zend-mvc-console/blob/1.1.10/src/ResponseSender/ConsoleResponseSender.php) is attached via the [delegator](https://github.com/zendframework/zend-mvc-console/blob/1.1.10/src/Service/ConsoleResponseSenderDelegatorFactory.php#L35) and delegators are called before initializers then the [EventManagerAwareInitializer](https://github.com/zendframework/zend-mvc/blob/release-3.0.2/src/Service/ServiceManagerConfig.php#L105) (re)sets the EventManager which causes lost of all previously attached listeners including the ConsoleResponseSender. \r\n"}}
{"actor":{"display_login":"fedys"}}