{"action":"created","issue":{"url":"https://api.github.com/repos/unirgy/convertm1m2/issues/9","labels_url":"https://api.github.com/repos/unirgy/convertm1m2/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/unirgy/convertm1m2/issues/9/comments","events_url":"https://api.github.com/repos/unirgy/convertm1m2/issues/9/events","html_url":"https://github.com/unirgy/convertm1m2/issues/9","id":120599938,"number":9,"title":"Will Autoloader Work with Official Magento 2 Release","user":{"login":"astorm","id":184372,"avatar_url":"https://avatars.githubusercontent.com/u/184372?v=3","gravatar_id":"","url":"https://api.github.com/users/astorm","html_url":"https://github.com/astorm","followers_url":"https://api.github.com/users/astorm/followers","following_url":"https://api.github.com/users/astorm/following{/other_user}","gists_url":"https://api.github.com/users/astorm/gists{/gist_id}","starred_url":"https://api.github.com/users/astorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorm/subscriptions","organizations_url":"https://api.github.com/users/astorm/orgs","repos_url":"https://api.github.com/users/astorm/repos","events_url":"https://api.github.com/users/astorm/events{/privacy}","received_events_url":"https://api.github.com/users/astorm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T01:13:51Z","updated_at":"2015-12-14T07:39:22Z","closed_at":null,"body":"It looks like the autoloader callback adds two paths to the M2 code pool\r\n\r\n    $m2Pools = [\r\n        \"{$this->_env['mage2_dir']}/lib/internal\",\r\n        \"{$this->_env['mage2_code_dir']}\",\r\n    ];\r\n    \r\nOr, dumped out\r\n\r\n    array(2) {\r\n      [0] =>\r\n      string(65) \"/Users/alanstorm/Sites/magento-2-with-keys/magento2//lib/internal\"\r\n      [1] =>\r\n      string(61) \"/Users/alanstorm/Sites/magento-2-with-keys/magento2//app/code\"\r\n    }\r\n    \r\nMagento moved their core modules **out** of the `app/code` folder and into the `vendor/magento-*` folders, each with its own composer autoloader\r\n\r\n    #File: vendor/magento/module-checkout/composer.json\r\n    \"autoload\": {\r\n        \"files\": [\r\n            \"registration.php\"\r\n        ],\r\n        \"psr-4\": {\r\n            \"Magento\\\\Checkout\\\\\": \"\"\r\n        }\r\n    }\r\n\r\nIt doesn't look like the autoloader callback will handle this?\r\n    \r\n(Sorry for the lack of a specific test here -- not sure when the autoloader is used in the program yet.)"},"comment":{"url":"https://api.github.com/repos/unirgy/convertm1m2/issues/comments/164369579","html_url":"https://github.com/unirgy/convertm1m2/issues/9#issuecomment-164369579","issue_url":"https://api.github.com/repos/unirgy/convertm1m2/issues/9","id":164369579,"user":{"login":"unirgy","id":30782,"avatar_url":"https://avatars.githubusercontent.com/u/30782?v=3","gravatar_id":"","url":"https://api.github.com/users/unirgy","html_url":"https://github.com/unirgy","followers_url":"https://api.github.com/users/unirgy/followers","following_url":"https://api.github.com/users/unirgy/following{/other_user}","gists_url":"https://api.github.com/users/unirgy/gists{/gist_id}","starred_url":"https://api.github.com/users/unirgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unirgy/subscriptions","organizations_url":"https://api.github.com/users/unirgy/orgs","repos_url":"https://api.github.com/users/unirgy/repos","events_url":"https://api.github.com/users/unirgy/events{/privacy}","received_events_url":"https://api.github.com/users/unirgy/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T07:39:22Z","updated_at":"2015-12-14T07:39:22Z","body":"Do you have any related actual error, or was it a hypothetical question? "}}