{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/16885","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/16885/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/16885/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/16885/events","html_url":"https://github.com/magento/magento2/pull/16885","id":341949630,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxOTY1MDE4","number":16885,"title":"[Fix] Do not modify current list of countries with require states during setup upgrade","user":{"login":"jalogut","id":6410900,"node_id":"MDQ6VXNlcjY0MTA5MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6410900?v=4","gravatar_id":"","url":"https://api.github.com/users/jalogut","html_url":"https://github.com/jalogut","followers_url":"https://api.github.com/users/jalogut/followers","following_url":"https://api.github.com/users/jalogut/following{/other_user}","gists_url":"https://api.github.com/users/jalogut/gists{/gist_id}","starred_url":"https://api.github.com/users/jalogut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalogut/subscriptions","organizations_url":"https://api.github.com/users/jalogut/orgs","repos_url":"https://api.github.com/users/jalogut/repos","events_url":"https://api.github.com/users/jalogut/events{/privacy}","received_events_url":"https://api.github.com/users/jalogut/received_events","type":"User","site_admin":false},"labels":[{"id":962017659,"node_id":"MDU6TGFiZWw5NjIwMTc2NTk=","url":"https://api.github.com/repos/magento/magento2/labels/Component:%20Directory","name":"Component: Directory","color":"7fb703","default":false},{"id":703232382,"node_id":"MDU6TGFiZWw3MDMyMzIzODI=","url":"https://api.github.com/repos/magento/magento2/labels/Release%20Line:%202.2","name":"Release Line: 2.2","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"dmanners","id":1572836,"node_id":"MDQ6VXNlcjE1NzI4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1572836?v=4","gravatar_id":"","url":"https://api.github.com/users/dmanners","html_url":"https://github.com/dmanners","followers_url":"https://api.github.com/users/dmanners/followers","following_url":"https://api.github.com/users/dmanners/following{/other_user}","gists_url":"https://api.github.com/users/dmanners/gists{/gist_id}","starred_url":"https://api.github.com/users/dmanners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmanners/subscriptions","organizations_url":"https://api.github.com/users/dmanners/orgs","repos_url":"https://api.github.com/users/dmanners/repos","events_url":"https://api.github.com/users/dmanners/events{/privacy}","received_events_url":"https://api.github.com/users/dmanners/received_events","type":"User","site_admin":false},"assignees":[{"login":"dmanners","id":1572836,"node_id":"MDQ6VXNlcjE1NzI4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1572836?v=4","gravatar_id":"","url":"https://api.github.com/users/dmanners","html_url":"https://github.com/dmanners","followers_url":"https://api.github.com/users/dmanners/followers","following_url":"https://api.github.com/users/dmanners/following{/other_user}","gists_url":"https://api.github.com/users/dmanners/gists{/gist_id}","starred_url":"https://api.github.com/users/dmanners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmanners/subscriptions","organizations_url":"https://api.github.com/users/dmanners/orgs","repos_url":"https://api.github.com/users/dmanners/repos","events_url":"https://api.github.com/users/dmanners/events{/privacy}","received_events_url":"https://api.github.com/users/dmanners/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/magento/magento2/milestones/21","html_url":"https://github.com/magento/magento2/milestone/21","labels_url":"https://api.github.com/repos/magento/magento2/milestones/21/labels","id":3535639,"node_id":"MDk6TWlsZXN0b25lMzUzNTYzOQ==","number":21,"title":"Release: 2.2.7","description":"Community pull requests delivered to Release: 2.2.7 release","creator":{"login":"magento-engcom-team","id":31669971,"node_id":"MDQ6VXNlcjMxNjY5OTcx","avatar_url":"https://avatars1.githubusercontent.com/u/31669971?v=4","gravatar_id":"","url":"https://api.github.com/users/magento-engcom-team","html_url":"https://github.com/magento-engcom-team","followers_url":"https://api.github.com/users/magento-engcom-team/followers","following_url":"https://api.github.com/users/magento-engcom-team/following{/other_user}","gists_url":"https://api.github.com/users/magento-engcom-team/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-engcom-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-engcom-team/subscriptions","organizations_url":"https://api.github.com/users/magento-engcom-team/orgs","repos_url":"https://api.github.com/users/magento-engcom-team/repos","events_url":"https://api.github.com/users/magento-engcom-team/events{/privacy}","received_events_url":"https://api.github.com/users/magento-engcom-team/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":122,"state":"open","created_at":"2018-07-31T13:10:14Z","updated_at":"2018-09-25T04:56:10Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-07-17T14:40:09Z","updated_at":"2018-09-26T08:14:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/16885","html_url":"https://github.com/magento/magento2/pull/16885","diff_url":"https://github.com/magento/magento2/pull/16885.diff","patch_url":"https://github.com/magento/magento2/pull/16885.patch"},"body":"Upgrading from any version `<2.2.0` to any version `>=2.2.0` results in modifications of `general/region/state_required` value.\r\n\r\n## How to reproduce\r\n\r\n- Having a Magento project in any version `<2.2.0`\r\n- Set custom values in `core_config_data` for `general/region/state_required`\r\n- Upgrade Magento project to any version `>=2.2.0`\r\n\r\n### Expected result\r\n\r\n- `general/region/state_required` is not modified\r\n\r\n### Actual result\r\n\r\n- `general/region/state_required` is overridden with all enabled countries in `general/country/allow`\r\n\r\n## Fixed Issues\r\n\r\n- Checkout not working after upgrade for existing users that do no have a state in their address\r\n- State is a mandatory for all allowed countries which might break other functionalities depending on that (sign up, reset password, customer import...)\r\n\r\n### Contribution checklist\r\n - [ ] Pull request has a meaningful description of its purpose\r\n - [ ] All commits are accompanied by meaningful commit messages\r\n - [ ] All new or changed code is covered with unit/integration tests (if applicable)\r\n - [ ] All automated tests passed successfully (all builds on Travis CI are green)\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/424626799","html_url":"https://github.com/magento/magento2/pull/16885#issuecomment-424626799","issue_url":"https://api.github.com/repos/magento/magento2/issues/16885","id":424626799,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDYyNjc5OQ==","user":{"login":"dmanners","id":1572836,"node_id":"MDQ6VXNlcjE1NzI4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1572836?v=4","gravatar_id":"","url":"https://api.github.com/users/dmanners","html_url":"https://github.com/dmanners","followers_url":"https://api.github.com/users/dmanners/followers","following_url":"https://api.github.com/users/dmanners/following{/other_user}","gists_url":"https://api.github.com/users/dmanners/gists{/gist_id}","starred_url":"https://api.github.com/users/dmanners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmanners/subscriptions","organizations_url":"https://api.github.com/users/dmanners/orgs","repos_url":"https://api.github.com/users/dmanners/repos","events_url":"https://api.github.com/users/dmanners/events{/privacy}","received_events_url":"https://api.github.com/users/dmanners/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T08:14:54Z","updated_at":"2018-09-26T08:14:54Z","author_association":"CONTRIBUTOR","body":"Ah I see @jalogut thanks for the clarification."}}
{"actor":{"display_login":"dmanners"}}