{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/mage2pro/core/pulls/36","id":146459826,"html_url":"https://github.com/mage2pro/core/pull/36","diff_url":"https://github.com/mage2pro/core/pull/36.diff","patch_url":"https://github.com/mage2pro/core/pull/36.patch","issue_url":"https://api.github.com/repos/mage2pro/core/issues/36","number":36,"state":"open","locked":false,"title":"Fix error when running \"php bin/magento setup:upgrade\" ","user":{"login":"elvinristi","id":3975860,"avatar_url":"https://avatars3.githubusercontent.com/u/3975860?v=4","gravatar_id":"","url":"https://api.github.com/users/elvinristi","html_url":"https://github.com/elvinristi","followers_url":"https://api.github.com/users/elvinristi/followers","following_url":"https://api.github.com/users/elvinristi/following{/other_user}","gists_url":"https://api.github.com/users/elvinristi/gists{/gist_id}","starred_url":"https://api.github.com/users/elvinristi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvinristi/subscriptions","organizations_url":"https://api.github.com/users/elvinristi/orgs","repos_url":"https://api.github.com/users/elvinristi/repos","events_url":"https://api.github.com/users/elvinristi/events{/privacy}","received_events_url":"https://api.github.com/users/elvinristi/received_events","type":"User","site_admin":false},"body":"Fix error when running \"php bin/magento setup:upgrade\" which throws e…rror when you first time initilise project.\r\n\r\n```\r\nMagento\\Framework\\Exception\\LocalizedException: Wrong entity ID in <project>/vendor/magento/module-eav/Setup/EavSetup.php on line 265\r\n```\r\n\r\nCall stack:\r\n\r\n```\r\n   ...\r\n   ...\r\n   28.0230   65761576   9. Magento\\Setup\\Model\\Installer->handleDBSchemaData($setup = class Magento\\Setup\\Module\\Setup { private ${Magento\\Framework\\Module\\Setup}:connection = class Magento\\Framework\\DB\\Adapter\\Pdo\\Mysql { protected $_defaultStmtClass = 'Magento\\\\Framework\\\\DB\\\\Statement\\\\Pdo\\\\Mysql'; protected $_transactionLevel = 0; protected $_isRolledBack = FALSE; protected $_connectionFlagsSet = TRUE; protected $_ddlCache = array (...); protected $_bindParams = array (...); protected $_bindIncrement = 0; protected $_cacheAdapter = NULL; protected $_isDdlCacheAllowed = TRUE; protected $_ddlColumnTypes = array (...); protected $_ddlRoutines = array (...); protected $_intervalUnits = array (...); protected $_queryHook = NULL; protected $string = class Magento\\Framework\\Stdlib\\StringUtils { ... }; protected $dateTime = class Magento\\Framework\\Stdlib\\DateTime { ... }; protected $selectFactory = class Magento\\Framework\\DB\\SelectFactory { ... }; protected $logger = class Magento\\Framework\\DB\\Logger\\Quiet { ... }; private $queryGenerator = NULL; protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; private ${Magento\\Framework\\Module\\Setup}:tables = array ('setup_module' => 'setup_module', 'session' => 'session', 'cache' => 'cache', 'cache_tag' => 'cache_tag', 'flag' => 'flag'); private ${Magento\\Framework\\Module\\Setup}:resourceModel = class Magento\\Framework\\App\\ResourceConnection { protected $connections = array (...); protected $mappedTableNames = NULL; protected $config = class Magento\\Setup\\Module\\Setup\\ResourceConfig { ... }; protected $connectionFactory = class Magento\\Setup\\Module\\ConnectionFactory { ... }; private $deploymentConfig = class Magento\\Framework\\App\\DeploymentConfig { ... }; protected $tablePrefix = '' }; private ${Magento\\Framework\\Module\\Setup}:connectionName = 'default_setup' }, $type = 'schema') <project>/setup/src/Magento/Setup/Model/Installer.php:779\r\n   28.3420   66160784  10. Df\\Framework\\Upgrade\\Schema->upgrade($setup = class Magento\\Setup\\Module\\Setup { private ${Magento\\Framework\\Module\\Setup}:connection = class Magento\\Framework\\DB\\Adapter\\Pdo\\Mysql { protected $_defaultStmtClass = 'Magento\\\\Framework\\\\DB\\\\Statement\\\\Pdo\\\\Mysql'; protected $_transactionLevel = 0; protected $_isRolledBack = FALSE; protected $_connectionFlagsSet = TRUE; protected $_ddlCache = array (...); protected $_bindParams = array (...); protected $_bindIncrement = 0; protected $_cacheAdapter = NULL; protected $_isDdlCacheAllowed = TRUE; protected $_ddlColumnTypes = array (...); protected $_ddlRoutines = array (...); protected $_intervalUnits = array (...); protected $_queryHook = NULL; protected $string = class Magento\\Framework\\Stdlib\\StringUtils { ... }; protected $dateTime = class Magento\\Framework\\Stdlib\\DateTime { ... }; protected $selectFactory = class Magento\\Framework\\DB\\SelectFactory { ... }; protected $logger = class Magento\\Framework\\DB\\Logger\\Quiet { ... }; private $queryGenerator = NULL; protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; private ${Magento\\Framework\\Module\\Setup}:tables = array ('setup_module' => 'setup_module', 'session' => 'session', 'cache' => 'cache', 'cache_tag' => 'cache_tag', 'flag' => 'flag'); private ${Magento\\Framework\\Module\\Setup}:resourceModel = class Magento\\Framework\\App\\ResourceConnection { protected $connections = array (...); protected $mappedTableNames = NULL; protected $config = class Magento\\Setup\\Module\\Setup\\ResourceConfig { ... }; protected $connectionFactory = class Magento\\Setup\\Module\\ConnectionFactory { ... }; private $deploymentConfig = class Magento\\Framework\\App\\DeploymentConfig { ... }; protected $tablePrefix = '' }; private ${Magento\\Framework\\Module\\Setup}:connectionName = 'default_setup' }, $context = class Magento\\Setup\\Model\\ModuleContext { private $version = '' }) <project>/setup/src/Magento/Setup/Model/Installer.php:849\r\n   28.3420   66160784  11. Df\\Framework\\Upgrade->process($setup = class Magento\\Setup\\Module\\Setup { private ${Magento\\Framework\\Module\\Setup}:connection = class Magento\\Framework\\DB\\Adapter\\Pdo\\Mysql { protected $_defaultStmtClass = 'Magento\\\\Framework\\\\DB\\\\Statement\\\\Pdo\\\\Mysql'; protected $_transactionLevel = 0; protected $_isRolledBack = FALSE; protected $_connectionFlagsSet = TRUE; protected $_ddlCache = array (...); protected $_bindParams = array (...); protected $_bindIncrement = 0; protected $_cacheAdapter = NULL; protected $_isDdlCacheAllowed = TRUE; protected $_ddlColumnTypes = array (...); protected $_ddlRoutines = array (...); protected $_intervalUnits = array (...); protected $_queryHook = NULL; protected $string = class Magento\\Framework\\Stdlib\\StringUtils { ... }; protected $dateTime = class Magento\\Framework\\Stdlib\\DateTime { ... }; protected $selectFactory = class Magento\\Framework\\DB\\SelectFactory { ... }; protected $logger = class Magento\\Framework\\DB\\Logger\\Quiet { ... }; private $queryGenerator = NULL; protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; private ${Magento\\Framework\\Module\\Setup}:tables = array ('setup_module' => 'setup_module', 'session' => 'session', 'cache' => 'cache', 'cache_tag' => 'cache_tag', 'flag' => 'flag'); private ${Magento\\Framework\\Module\\Setup}:resourceModel = class Magento\\Framework\\App\\ResourceConnection { protected $connections = array (...); protected $mappedTableNames = NULL; protected $config = class Magento\\Setup\\Module\\Setup\\ResourceConfig { ... }; protected $connectionFactory = class Magento\\Setup\\Module\\ConnectionFactory { ... }; private $deploymentConfig = class Magento\\Framework\\App\\DeploymentConfig { ... }; protected $tablePrefix = '' }; private ${Magento\\Framework\\Module\\Setup}:connectionName = 'default_setup' }, $context = class Magento\\Setup\\Model\\ModuleContext { private $version = '' }) <project>/vendor/mage2pro/core/Framework/Upgrade/Schema.php:59\r\n   28.3432   66160784  12. Df\\Customer\\Setup\\UpgradeSchema->_process() <project>/vendor/mage2pro/core/Framework/Upgrade.php:98\r\n  128.5908   66587088  13. Magento\\Eav\\Setup\\EavSetup->addAttribute($entityTypeId = 'customer', $code = 'df', $attr = array ('input' => 'text', 'label' => 'Mage2.PRO', 'position' => 1000, 'required' => FALSE, 'sort_order' => 1000, 'system' => FALSE, 'type' => 'static', 'visible' => FALSE)) <project>/vendor/mage2pro/core/Customer/Setup/UpgradeSchema.php:29\r\n  138.0007   66587088  14. Magento\\Eav\\Setup\\EavSetup->getEntityTypeId($entityTypeId = FALSE) <project>/vendor/magento/module-eav/Setup/EavSetup.php:800\r\n```","created_at":"2017-10-13T13:39:11Z","updated_at":"2017-10-13T13:39:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mage2pro/core/pulls/36/commits","review_comments_url":"https://api.github.com/repos/mage2pro/core/pulls/36/comments","review_comment_url":"https://api.github.com/repos/mage2pro/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mage2pro/core/issues/36/comments","statuses_url":"https://api.github.com/repos/mage2pro/core/statuses/17cc6ff56ee9be658ebe07167b51c1e0298b9c35","head":{"label":"elvinristi:fix/initial-upgrade-data","ref":"fix/initial-upgrade-data","sha":"17cc6ff56ee9be658ebe07167b51c1e0298b9c35","user":{"login":"elvinristi","id":3975860,"avatar_url":"https://avatars3.githubusercontent.com/u/3975860?v=4","gravatar_id":"","url":"https://api.github.com/users/elvinristi","html_url":"https://github.com/elvinristi","followers_url":"https://api.github.com/users/elvinristi/followers","following_url":"https://api.github.com/users/elvinristi/following{/other_user}","gists_url":"https://api.github.com/users/elvinristi/gists{/gist_id}","starred_url":"https://api.github.com/users/elvinristi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvinristi/subscriptions","organizations_url":"https://api.github.com/users/elvinristi/orgs","repos_url":"https://api.github.com/users/elvinristi/repos","events_url":"https://api.github.com/users/elvinristi/events{/privacy}","received_events_url":"https://api.github.com/users/elvinristi/received_events","type":"User","site_admin":false},"repo":{"id":106812992,"name":"mage2pro-core","full_name":"elvinristi/mage2pro-core","owner":{"login":"elvinristi","id":3975860,"avatar_url":"https://avatars3.githubusercontent.com/u/3975860?v=4","gravatar_id":"","url":"https://api.github.com/users/elvinristi","html_url":"https://github.com/elvinristi","followers_url":"https://api.github.com/users/elvinristi/followers","following_url":"https://api.github.com/users/elvinristi/following{/other_user}","gists_url":"https://api.github.com/users/elvinristi/gists{/gist_id}","starred_url":"https://api.github.com/users/elvinristi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvinristi/subscriptions","organizations_url":"https://api.github.com/users/elvinristi/orgs","repos_url":"https://api.github.com/users/elvinristi/repos","events_url":"https://api.github.com/users/elvinristi/events{/privacy}","received_events_url":"https://api.github.com/users/elvinristi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elvinristi/mage2pro-core","description":"Mage2.PRO core package","fork":true,"url":"https://api.github.com/repos/elvinristi/mage2pro-core","forks_url":"https://api.github.com/repos/elvinristi/mage2pro-core/forks","keys_url":"https://api.github.com/repos/elvinristi/mage2pro-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elvinristi/mage2pro-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elvinristi/mage2pro-core/teams","hooks_url":"https://api.github.com/repos/elvinristi/mage2pro-core/hooks","issue_events_url":"https://api.github.com/repos/elvinristi/mage2pro-core/issues/events{/number}","events_url":"https://api.github.com/repos/elvinristi/mage2pro-core/events","assignees_url":"https://api.github.com/repos/elvinristi/mage2pro-core/assignees{/user}","branches_url":"https://api.github.com/repos/elvinristi/mage2pro-core/branches{/branch}","tags_url":"https://api.github.com/repos/elvinristi/mage2pro-core/tags","blobs_url":"https://api.github.com/repos/elvinristi/mage2pro-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elvinristi/mage2pro-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elvinristi/mage2pro-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/elvinristi/mage2pro-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elvinristi/mage2pro-core/statuses/{sha}","languages_url":"https://api.github.com/repos/elvinristi/mage2pro-core/languages","stargazers_url":"https://api.github.com/repos/elvinristi/mage2pro-core/stargazers","contributors_url":"https://api.github.com/repos/elvinristi/mage2pro-core/contributors","subscribers_url":"https://api.github.com/repos/elvinristi/mage2pro-core/subscribers","subscription_url":"https://api.github.com/repos/elvinristi/mage2pro-core/subscription","commits_url":"https://api.github.com/repos/elvinristi/mage2pro-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/elvinristi/mage2pro-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/elvinristi/mage2pro-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/elvinristi/mage2pro-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/elvinristi/mage2pro-core/contents/{+path}","compare_url":"https://api.github.com/repos/elvinristi/mage2pro-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elvinristi/mage2pro-core/merges","archive_url":"https://api.github.com/repos/elvinristi/mage2pro-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elvinristi/mage2pro-core/downloads","issues_url":"https://api.github.com/repos/elvinristi/mage2pro-core/issues{/number}","pulls_url":"https://api.github.com/repos/elvinristi/mage2pro-core/pulls{/number}","milestones_url":"https://api.github.com/repos/elvinristi/mage2pro-core/milestones{/number}","notifications_url":"https://api.github.com/repos/elvinristi/mage2pro-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elvinristi/mage2pro-core/labels{/name}","releases_url":"https://api.github.com/repos/elvinristi/mage2pro-core/releases{/id}","deployments_url":"https://api.github.com/repos/elvinristi/mage2pro-core/deployments","created_at":"2017-10-13T10:52:10Z","updated_at":"2017-10-13T10:56:25Z","pushed_at":"2017-10-13T12:59:28Z","git_url":"git://github.com/elvinristi/mage2pro-core.git","ssh_url":"git@github.com:elvinristi/mage2pro-core.git","clone_url":"https://github.com/elvinristi/mage2pro-core.git","svn_url":"https://github.com/elvinristi/mage2pro-core","homepage":"https://mage2.pro/c/extensions","size":5652,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mage2pro:master","ref":"master","sha":"a662c1ed94b30fbfd63702ae20db24c889d19853","user":{"login":"mage2pro","id":23271789,"avatar_url":"https://avatars2.githubusercontent.com/u/23271789?v=4","gravatar_id":"","url":"https://api.github.com/users/mage2pro","html_url":"https://github.com/mage2pro","followers_url":"https://api.github.com/users/mage2pro/followers","following_url":"https://api.github.com/users/mage2pro/following{/other_user}","gists_url":"https://api.github.com/users/mage2pro/gists{/gist_id}","starred_url":"https://api.github.com/users/mage2pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mage2pro/subscriptions","organizations_url":"https://api.github.com/users/mage2pro/orgs","repos_url":"https://api.github.com/users/mage2pro/repos","events_url":"https://api.github.com/users/mage2pro/events{/privacy}","received_events_url":"https://api.github.com/users/mage2pro/received_events","type":"Organization","site_admin":false},"repo":{"id":55575597,"name":"core","full_name":"mage2pro/core","owner":{"login":"mage2pro","id":23271789,"avatar_url":"https://avatars2.githubusercontent.com/u/23271789?v=4","gravatar_id":"","url":"https://api.github.com/users/mage2pro","html_url":"https://github.com/mage2pro","followers_url":"https://api.github.com/users/mage2pro/followers","following_url":"https://api.github.com/users/mage2pro/following{/other_user}","gists_url":"https://api.github.com/users/mage2pro/gists{/gist_id}","starred_url":"https://api.github.com/users/mage2pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mage2pro/subscriptions","organizations_url":"https://api.github.com/users/mage2pro/orgs","repos_url":"https://api.github.com/users/mage2pro/repos","events_url":"https://api.github.com/users/mage2pro/events{/privacy}","received_events_url":"https://api.github.com/users/mage2pro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mage2pro/core","description":"Mage2.PRO core package","fork":false,"url":"https://api.github.com/repos/mage2pro/core","forks_url":"https://api.github.com/repos/mage2pro/core/forks","keys_url":"https://api.github.com/repos/mage2pro/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mage2pro/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mage2pro/core/teams","hooks_url":"https://api.github.com/repos/mage2pro/core/hooks","issue_events_url":"https://api.github.com/repos/mage2pro/core/issues/events{/number}","events_url":"https://api.github.com/repos/mage2pro/core/events","assignees_url":"https://api.github.com/repos/mage2pro/core/assignees{/user}","branches_url":"https://api.github.com/repos/mage2pro/core/branches{/branch}","tags_url":"https://api.github.com/repos/mage2pro/core/tags","blobs_url":"https://api.github.com/repos/mage2pro/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mage2pro/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mage2pro/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mage2pro/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mage2pro/core/statuses/{sha}","languages_url":"https://api.github.com/repos/mage2pro/core/languages","stargazers_url":"https://api.github.com/repos/mage2pro/core/stargazers","contributors_url":"https://api.github.com/repos/mage2pro/core/contributors","subscribers_url":"https://api.github.com/repos/mage2pro/core/subscribers","subscription_url":"https://api.github.com/repos/mage2pro/core/subscription","commits_url":"https://api.github.com/repos/mage2pro/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mage2pro/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mage2pro/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mage2pro/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mage2pro/core/contents/{+path}","compare_url":"https://api.github.com/repos/mage2pro/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mage2pro/core/merges","archive_url":"https://api.github.com/repos/mage2pro/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mage2pro/core/downloads","issues_url":"https://api.github.com/repos/mage2pro/core/issues{/number}","pulls_url":"https://api.github.com/repos/mage2pro/core/pulls{/number}","milestones_url":"https://api.github.com/repos/mage2pro/core/milestones{/number}","notifications_url":"https://api.github.com/repos/mage2pro/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mage2pro/core/labels{/name}","releases_url":"https://api.github.com/repos/mage2pro/core/releases{/id}","deployments_url":"https://api.github.com/repos/mage2pro/core/deployments","created_at":"2016-04-06T04:22:34Z","updated_at":"2017-03-03T21:07:55Z","pushed_at":"2017-10-12T15:50:01Z","git_url":"git://github.com/mage2pro/core.git","ssh_url":"git@github.com:mage2pro/core.git","clone_url":"https://github.com/mage2pro/core.git","svn_url":"https://github.com/mage2pro/core","homepage":"https://mage2.pro/c/extensions","size":5650,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mage2pro/core/pulls/36"},"html":{"href":"https://github.com/mage2pro/core/pull/36"},"issue":{"href":"https://api.github.com/repos/mage2pro/core/issues/36"},"comments":{"href":"https://api.github.com/repos/mage2pro/core/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/mage2pro/core/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/mage2pro/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mage2pro/core/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/mage2pro/core/statuses/17cc6ff56ee9be658ebe07167b51c1e0298b9c35"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":46,"deletions":22,"changed_files":2}}
{"actor":{"display_login":"elvinristi"}}