{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6261","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6261/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6261/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6261/events","html_url":"https://github.com/magento/magento2/issues/6261","id":172313551,"number":6261,"title":"\"Customer > Address > State/Province\" in admin backend does not honour the \"State is Required for\" setting, is always required","user":{"login":"heldchen","id":299636,"avatar_url":"https://avatars1.githubusercontent.com/u/299636?v=3","gravatar_id":"","url":"https://api.github.com/users/heldchen","html_url":"https://github.com/heldchen","followers_url":"https://api.github.com/users/heldchen/followers","following_url":"https://api.github.com/users/heldchen/following{/other_user}","gists_url":"https://api.github.com/users/heldchen/gists{/gist_id}","starred_url":"https://api.github.com/users/heldchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heldchen/subscriptions","organizations_url":"https://api.github.com/users/heldchen/orgs","repos_url":"https://api.github.com/users/heldchen/repos","events_url":"https://api.github.com/users/heldchen/events{/privacy}","received_events_url":"https://api.github.com/users/heldchen/received_events","type":"User","site_admin":false},"labels":[{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false},{"id":418851288,"url":"https://api.github.com/repos/magento/magento2/labels/Admin%20Panel","name":"Admin Panel","color":"1d76db","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":374015207,"url":"https://api.github.com/repos/magento/magento2/labels/Customer","name":"Customer","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-21T09:51:43Z","updated_at":"2017-03-27T16:48:10Z","closed_at":null,"body":"the \"State/Province\" (attribute `region_id`) selectbox in \"Customers > Customer > {edit} > Addresses\" is always marked as \"required\" when the selected country has states - even when the option \"State is Required for\" in \"Stores > Configuration > General > State Options\" is not enabled for this country.\n\nthis prevents saving the customer. \n### Preconditions\n1. CE 2.1.0\n### Steps to reproduce\n1. in \"Stores > Configuration > General > Country Options\"  enable a country that has regions/states, we'll use \"Switzerland\" for the rest of the steps.\n2. in \"Stores > Configuration > General > State Options\" ensure option \"State is Required for\" is not enabled for \"Switzerland\"\n3. save, clear config cache\n4. create or edit a customer, add or edit this customers address\n5. select \"Country: Switzerland\"\n### Expected result\n1. The \"State/Province\" selectbox is popuplated and not mandatory\n### Actual result\n1. The \"State/Province\" selectbox is popuplated and marked as required\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/289513017","html_url":"https://github.com/magento/magento2/issues/6261#issuecomment-289513017","issue_url":"https://api.github.com/repos/magento/magento2/issues/6261","id":289513017,"user":{"login":"EliasKotlyar","id":9529505,"avatar_url":"https://avatars3.githubusercontent.com/u/9529505?v=3","gravatar_id":"","url":"https://api.github.com/users/EliasKotlyar","html_url":"https://github.com/EliasKotlyar","followers_url":"https://api.github.com/users/EliasKotlyar/followers","following_url":"https://api.github.com/users/EliasKotlyar/following{/other_user}","gists_url":"https://api.github.com/users/EliasKotlyar/gists{/gist_id}","starred_url":"https://api.github.com/users/EliasKotlyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliasKotlyar/subscriptions","organizations_url":"https://api.github.com/users/EliasKotlyar/orgs","repos_url":"https://api.github.com/users/EliasKotlyar/repos","events_url":"https://api.github.com/users/EliasKotlyar/events{/privacy}","received_events_url":"https://api.github.com/users/EliasKotlyar/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T16:48:10Z","updated_at":"2017-03-27T16:48:10Z","body":"Hello everyone,\r\n\r\nI have made a Module, which provides a temporary fix for this Problem:\r\nhttps://github.com/EliasKotlyar/RegionFix\r\n\r\nGreetings\r\nElias"}}
{"actor":{"display_login":"EliasKotlyar"}}