{"action":"created","issue":{"url":"https://api.github.com/repos/contao/test/issues/29","labels_url":"https://api.github.com/repos/contao/test/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/contao/test/issues/29/comments","events_url":"https://api.github.com/repos/contao/test/issues/29/events","html_url":"https://github.com/contao/test/issues/29","id":63656197,"number":29,"title":"[CLOSED] Do not hardcode bundles in AppKernel","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":[{"url":"https://api.github.com/repos/contao/test/labels/up%20for%20discussion","name":"up for discussion","color":"2a982a"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-23T07:58:45Z","updated_at":"2015-03-23T07:58:49Z","closed_at":null,"body":"> <a href=\"https://github.com/aschempp\"><img src=\"https://avatars.githubusercontent.com/u/1073273?v=3\" align=\"left\" width=\"42\" height=\"42\" hspace=\"10\"></img></a> Issue by [aschempp](https://github.com/aschempp) (imported from https://github.com/contao/contao/issues/29)\nFriday Oct 31, 2014 at 22:42 GMT\n\nHardcoding the `FrameworkBundle` in the `AppKernel` will result in an exception, if the `FrameworkBundle` is added to the autoload.json\r\n\r\n```\r\nFatal error: Uncaught exception 'LogicException' with message 'Trying to register two bundles with the same name \"FrameworkBundle\"'\r\n```\r\n\r\nWe should only use the bundle autoloading and add the basic requirements to the autoload.json. This would also mean we can change them without affecting the distribution repo.\r\nI can provide PRs if you prefer that.\n"},"comment":{"url":"https://api.github.com/repos/contao/test/issues/comments/84871334","html_url":"https://github.com/contao/test/issues/29#issuecomment-84871334","issue_url":"https://api.github.com/repos/contao/test/issues/29","id":84871334,"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-23T07:58:49Z","updated_at":"2015-03-23T07:58:49Z","body":"> <a href=\"https://github.com/tristanlins\"><img src=\"https://avatars.githubusercontent.com/u/343404?v=3\" align=\"left\" width=\"42\" height=\"42\" hspace=\"10\"></img></a> Comment by [tristanlins](https://github.com/tristanlins)\nWednesday Nov 05, 2014 at 09:49 GMT\n\n`FrameworkBundle` is a little special, because it provide the distribution setup. Well it's not required to run a distribution, but it provide the basic \"framework\" to run the distribution.\n"}}