{"action":"created","issue":{"url":"https://api.github.com/repos/contao/test/issues/9","labels_url":"https://api.github.com/repos/contao/test/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/contao/test/issues/9/comments","events_url":"https://api.github.com/repos/contao/test/issues/9/events","html_url":"https://github.com/contao/test/issues/9","id":63453624,"number":9,"title":"Can we be sure the request scope exists?","user":{"login":"importer","id":1215373,"avatar_url":"https://avatars.githubusercontent.com/u/1215373?v=3","gravatar_id":"","url":"https://api.github.com/users/importer","html_url":"https://github.com/importer","followers_url":"https://api.github.com/users/importer/followers","following_url":"https://api.github.com/users/importer/following{/other_user}","gists_url":"https://api.github.com/users/importer/gists{/gist_id}","starred_url":"https://api.github.com/users/importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/importer/subscriptions","organizations_url":"https://api.github.com/users/importer/orgs","repos_url":"https://api.github.com/users/importer/repos","events_url":"https://api.github.com/users/importer/events{/privacy}","received_events_url":"https://api.github.com/users/importer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-21T20:32:56Z","updated_at":"2015-03-21T20:33:13Z","closed_at":null,"body":"<a href=\"https://github.com/leofeyer\"><img src=\"https://avatars.githubusercontent.com/u/1192057?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Issue by [leofeyer](https://github.com/leofeyer)** (imported from https://github.com/contao/contao/issues/61)\n_Wednesday Mar 04, 2015 at 12:47 GMT_\n\n----\n\nI am referring to this: https://github.com/contao/core-bundle/blob/develop/src/ContaoCoreBundle.php#L30\r\n\r\n@aschempp Can we be sure that the request scope exists? Check this out:\r\n\r\nhttps://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php#L49-L52\r\n\n"},"comment":{"url":"https://api.github.com/repos/contao/test/issues/comments/84451045","html_url":"https://github.com/contao/test/issues/9#issuecomment-84451045","issue_url":"https://api.github.com/repos/contao/test/issues/9","id":84451045,"user":{"login":"importer","id":1215373,"avatar_url":"https://avatars.githubusercontent.com/u/1215373?v=3","gravatar_id":"","url":"https://api.github.com/users/importer","html_url":"https://github.com/importer","followers_url":"https://api.github.com/users/importer/followers","following_url":"https://api.github.com/users/importer/following{/other_user}","gists_url":"https://api.github.com/users/importer/gists{/gist_id}","starred_url":"https://api.github.com/users/importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/importer/subscriptions","organizations_url":"https://api.github.com/users/importer/orgs","repos_url":"https://api.github.com/users/importer/repos","events_url":"https://api.github.com/users/importer/events{/privacy}","received_events_url":"https://api.github.com/users/importer/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T20:33:13Z","updated_at":"2015-03-21T20:33:13Z","body":"<a href=\"https://github.com/aschempp\"><img src=\"https://avatars.githubusercontent.com/u/1073273?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [aschempp](https://github.com/aschempp)**\n_Wednesday Mar 04, 2015 at 14:10 GMT_\n\n----\n\nHmm. I don't know about the check. The reworked bootstrap requires a request/route to work. The only situation where there is no request scope would be if someone does [change the `http_kernel` in the Container](https://github.com/symfony/HttpKernel/blob/master/Kernel.php#L187).\r\nI don't think we should add the `request` scope, and not adding our scopes would be wrong too.\r\n\r\nRegarding the constants, please wait with that. Feel free to change it to a FIXME. I do have a branch where there is no `ContaoBundleInterface` ;-)\n"}}