{"action":"opened","issue":{"url":"https://api.github.com/repos/helhum/typo3_console/issues/99","labels_url":"https://api.github.com/repos/helhum/typo3_console/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/helhum/typo3_console/issues/99/comments","events_url":"https://api.github.com/repos/helhum/typo3_console/issues/99/events","html_url":"https://github.com/helhum/typo3_console/issues/99","id":122805312,"number":99,"title":"install:generatePackageStates fails if an extension with a dependency is loaded","user":{"login":"sascha-egerer","id":1651414,"avatar_url":"https://avatars.githubusercontent.com/u/1651414?v=3","gravatar_id":"","url":"https://api.github.com/users/sascha-egerer","html_url":"https://github.com/sascha-egerer","followers_url":"https://api.github.com/users/sascha-egerer/followers","following_url":"https://api.github.com/users/sascha-egerer/following{/other_user}","gists_url":"https://api.github.com/users/sascha-egerer/gists{/gist_id}","starred_url":"https://api.github.com/users/sascha-egerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sascha-egerer/subscriptions","organizations_url":"https://api.github.com/users/sascha-egerer/orgs","repos_url":"https://api.github.com/users/sascha-egerer/repos","events_url":"https://api.github.com/users/sascha-egerer/events{/privacy}","received_events_url":"https://api.github.com/users/sascha-egerer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T19:27:58Z","updated_at":"2015-12-17T19:27:58Z","closed_at":null,"body":"Given no `PackageStates.php` file exists and the composer.json contains an section like this:\r\n```\r\n...\r\n  \"extra\": {\r\n    \"helhum/typo3-console\": {\r\n      \"active-packages\": [\r\n       ...\r\n       \r\n        \"info\",\r\n        \"info_pagetsconfig\",\r\n       ...\r\n      ]\r\n   }\r\n....\r\n```\r\nCalling `./typo3cms install:generatepackagestates` will result in:\r\n```\r\nUncaught Exception in TYPO3 CMS #1382276561: The package \"info_pagetsconfig\" depends on \"info\" which is not present in the system.\r\nthrown in file ext/core/Classes/Package/DependencyResolver.php\r\nin line 95\r\n\r\n#0 Helhum\\Typo3Console\\Error\\ExceptionHandler::handleException()\r\n```\r\nWhen I remove the `info_pagetsconfig` from the \"active-packages\" section everything is fine.\r\n\r\nLooks like this happens if there is a dependency defined in the ext_emconf.php.\r\n"}}