{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/16440","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/16440/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/16440/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/16440/events","html_url":"https://github.com/magento/magento2/issues/16440","id":336525398,"node_id":"MDU6SXNzdWUzMzY1MjUzOTg=","number":16440,"title":"Account registration form: Customer user attributes are not automatically refilled after error","user":{"login":"lbajsarowicz","id":1639941,"node_id":"MDQ6VXNlcjE2Mzk5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1639941?v=4","gravatar_id":"","url":"https://api.github.com/users/lbajsarowicz","html_url":"https://github.com/lbajsarowicz","followers_url":"https://api.github.com/users/lbajsarowicz/followers","following_url":"https://api.github.com/users/lbajsarowicz/following{/other_user}","gists_url":"https://api.github.com/users/lbajsarowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/lbajsarowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbajsarowicz/subscriptions","organizations_url":"https://api.github.com/users/lbajsarowicz/orgs","repos_url":"https://api.github.com/users/lbajsarowicz/repos","events_url":"https://api.github.com/users/lbajsarowicz/events{/privacy}","received_events_url":"https://api.github.com/users/lbajsarowicz/received_events","type":"User","site_admin":false},"labels":[{"id":688811200,"node_id":"MDU6TGFiZWw2ODg4MTEyMDA=","url":"https://api.github.com/repos/magento/magento2/labels/G1%20Passed","name":"G1 Passed","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-28T08:37:00Z","updated_at":"2018-06-28T08:40:41Z","closed_at":null,"author_association":"COLLABORATOR","body":"### Preconditions\r\n1. PHP 7.1 with Magento 2.2.3\r\n2. Additional Customer attribute added with following setup script:\r\n```\r\n$this->eavSetup->addAttribute(\r\n            CustomerMetadataInterface::ENTITY_TYPE_CUSTOMER,\r\n            'myattribute',\r\n            [\r\n                'label' => 'MyAttribute',\r\n                'type' => 'static',\r\n                'required' => 0,\r\n                'default_value' => '',\r\n                'global' => ScopedAttributeInterface::SCOPE_STORE,\r\n                'system' => 0,\r\n                'input_filter' => 'striptags',\r\n                'sort_order' => 5,\r\n                'position' => 5,\r\n                'user_defined' => 1,\r\n                'is_used_in_grid' => 1,\r\n                'is_filterable_in_grid' => 1,\r\n                'is_searchable_in_grid' => 1\r\n            ]\r\n        );\r\n\r\n        $this->eavSetup->addAttributeToSet(\r\n            CustomerMetadataInterface::ENTITY_TYPE_CUSTOMER,\r\n            CustomerMetadataInterface::ATTRIBUTE_SET_ID_CUSTOMER,\r\n            null,\r\n            'myattribute'\r\n        );\r\n\r\n        $attribute = $this->eavConfig->getAttribute(Customer::ENTITY, 'myattribute');\r\n        $attribute->setData('used_in_forms', [\r\n            'adminhtml_customer',\r\n            'checkout_register',\r\n            'customer_account_create',\r\n            'customer_account_edit'\r\n        ]);\r\n        $this->attributeResource->save($attribute);\r\n```\r\n\r\n### Steps to reproduce\r\n1. Enter the `customer/account/create` form and fill the form, but having an error in one of the fields\r\n\r\n### Expected result\r\n1. After page reload I expect error message, but also all fields filled including the custom attribute\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. After page reload all the fields are filled except the Custom Attribute field"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/400958929","html_url":"https://github.com/magento/magento2/issues/16440#issuecomment-400958929","issue_url":"https://api.github.com/repos/magento/magento2/issues/16440","id":400958929,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk1ODkyOQ==","user":{"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},"created_at":"2018-06-28T08:40:41Z","updated_at":"2018-06-28T08:40:41Z","author_association":"CONTRIBUTOR","body":"Hi @lbajsarowicz, here is your [Magento instance](https://i-16440-2-2-3.engcom.dev.magento.com).\nAdmin access: [https://i-16440-2-2-3.engcom.dev.magento.com/admin](https://i-16440-2-2-3.engcom.dev.magento.com/admin)\nLogin: `admin` Password: `123123q`\nInstance will be terminated in up to 3 hours."}}
{"actor":{"display_login":"magento-engcom-team"}}