{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/101","repository_url":"https://api.github.com/repos/zendframework/zend-servicemanager","labels_url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/101/comments","events_url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/101/events","html_url":"https://github.com/zendframework/zend-servicemanager/issues/101","id":138029286,"number":101,"title":"BC break: not able to find ServiceManager named service","user":{"login":"metanav","id":7456984,"avatar_url":"https://avatars.githubusercontent.com/u/7456984?v=3","gravatar_id":"","url":"https://api.github.com/users/metanav","html_url":"https://github.com/metanav","followers_url":"https://api.github.com/users/metanav/followers","following_url":"https://api.github.com/users/metanav/following{/other_user}","gists_url":"https://api.github.com/users/metanav/gists{/gist_id}","starred_url":"https://api.github.com/users/metanav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanav/subscriptions","organizations_url":"https://api.github.com/users/metanav/orgs","repos_url":"https://api.github.com/users/metanav/repos","events_url":"https://api.github.com/users/metanav/events{/privacy}","received_events_url":"https://api.github.com/users/metanav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T23:49:00Z","updated_at":"2016-03-03T01:08:48Z","closed_at":null,"body":"After upgrade ( I am not sure it's zend-mvc or zend-servicemanager), the code below is throwing exception:\r\nZend\\ServiceManager\\ServiceManager::get was unable to fetch or create an instance for ServiceManager \r\n\r\n[Factory/AuthControllerFactory](https://github.com/zfcampus/zf-oauth2/blob/master/src/Factory/AuthControllerFactory.php#L22)\r\n```\r\n$services = $controllers->getServiceLocator()->get('ServiceManager');\r\n```\r\n\r\nWhen the code is changed to:\r\n```\r\n$services = $controllers->getServiceLocator();\r\n```\r\n\r\nIt works but I am not sure if this is backward compatible.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/comments/191523013","html_url":"https://github.com/zendframework/zend-servicemanager/issues/101#issuecomment-191523013","issue_url":"https://api.github.com/repos/zendframework/zend-servicemanager/issues/101","id":191523013,"user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T01:08:48Z","updated_at":"2016-03-03T01:08:48Z","body":"Plugin managers receive the parent service manager, and that's what you're retrieving when you call `getServiceLocator()`; calling `get('ServiceManager')` was actually redundant!\r\n\r\nAs such, while this might be a minor BC break, it's also helping you discover a problem in your code - I'd update your code!"}}