{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/17915","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/17915/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/17915/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/17915/events","html_url":"https://github.com/symfony/symfony/issues/17915","id":136078130,"number":17915,"title":"[DependencyInjection] Request for non existing service","user":{"login":"michaoj","id":4163887,"avatar_url":"https://avatars.githubusercontent.com/u/4163887?v=3","gravatar_id":"","url":"https://api.github.com/users/michaoj","html_url":"https://github.com/michaoj","followers_url":"https://api.github.com/users/michaoj/followers","following_url":"https://api.github.com/users/michaoj/following{/other_user}","gists_url":"https://api.github.com/users/michaoj/gists{/gist_id}","starred_url":"https://api.github.com/users/michaoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaoj/subscriptions","organizations_url":"https://api.github.com/users/michaoj/orgs","repos_url":"https://api.github.com/users/michaoj/repos","events_url":"https://api.github.com/users/michaoj/events{/privacy}","received_events_url":"https://api.github.com/users/michaoj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/DependencyInjection","name":"DependencyInjection","color":"DDDDDD"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Unconfirmed","name":"Unconfirmed","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-24T14:33:22Z","updated_at":"2016-02-26T11:26:50Z","closed_at":null,"body":"Hi,\r\n\r\nSince my project update to version 2.3.38-DEV, I have an error while trying to access my site \r\n\r\n```\r\nPHP Fatal error:  Uncaught exception 'Symfony\\\\Component\\\\DependencyInjection\\\\Exception\\\\ServiceNotFoundException' with message 'You have requested a non-existent service \"liip_imagine.gd\".' in /home/joachim/Web/sit/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:307\r\nStack trace:\r\n#0 /home/joachim/Web/sit/app/cache/dev/appDevDebugProjectContainer.php(4165): Symfony\\\\Component\\\\DependencyInjection\\\\Container->get('liip_imagine.gd')\r\n#1 /home/joachim/Web/sit/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(316): appDevDebugProjectContainer->getAssetic_AssetFactoryService()\r\n#2 /home/joachim/Web/sit/app/cache/dev/appDevDebugProjectContainer.php(346): Symfony\\\\Component\\\\DependencyInjection\\\\Container->get('assetic.asset_f...')\r\n#3 /home/joachim/Web/sit/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(316): appDevDebugProjectContainer->getAssetic_AssetManagerService()\r\n#4 /home/joachim/Web/sit/app/cache/dev/appDevDebugProjectContainer.php(2886): Symfony\\\\C in /home/joachim/Web/sit/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php on line 307\r\n```\r\n\r\nAfter searching, it looks like the problem occurs for all services with a public=false attribute\r\n\r\nThis issue seems to be related to this pull request\r\nhttps://github.com/symfony/symfony/pull/17867\r\n\r\nAnd the pending commit\r\nhttps://github.com/symfony/symfony/commit/4b33fd3d453dd1846089e9a3d53e96dba8caffa5\r\n\r\nIf if comment the line 99 in \r\n` src/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.php `\r\n\r\nor revert to version 2.3.37 everything works.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/189231381","html_url":"https://github.com/symfony/symfony/issues/17915#issuecomment-189231381","issue_url":"https://api.github.com/repos/symfony/symfony/issues/17915","id":189231381,"user":{"login":"michaoj","id":4163887,"avatar_url":"https://avatars.githubusercontent.com/u/4163887?v=3","gravatar_id":"","url":"https://api.github.com/users/michaoj","html_url":"https://github.com/michaoj","followers_url":"https://api.github.com/users/michaoj/followers","following_url":"https://api.github.com/users/michaoj/following{/other_user}","gists_url":"https://api.github.com/users/michaoj/gists{/gist_id}","starred_url":"https://api.github.com/users/michaoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaoj/subscriptions","organizations_url":"https://api.github.com/users/michaoj/orgs","repos_url":"https://api.github.com/users/michaoj/repos","events_url":"https://api.github.com/users/michaoj/events{/privacy}","received_events_url":"https://api.github.com/users/michaoj/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T11:26:50Z","updated_at":"2016-02-26T11:26:50Z","body":"@xabbuh Ok, I will try to go down the root of the problem then. Thanks"}}