{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3254","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3254/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3254/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3254/events","html_url":"https://github.com/Sylius/Sylius/issues/3254","id":105795303,"number":3254,"title":"Choice attributes are reset to first values when editing a product","user":{"login":"paceto256","id":5239743,"avatar_url":"https://avatars.githubusercontent.com/u/5239743?v=3","gravatar_id":"","url":"https://api.github.com/users/paceto256","html_url":"https://github.com/paceto256","followers_url":"https://api.github.com/users/paceto256/followers","following_url":"https://api.github.com/users/paceto256/following{/other_user}","gists_url":"https://api.github.com/users/paceto256/gists{/gist_id}","starred_url":"https://api.github.com/users/paceto256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paceto256/subscriptions","organizations_url":"https://api.github.com/users/paceto256/orgs","repos_url":"https://api.github.com/users/paceto256/repos","events_url":"https://api.github.com/users/paceto256/events{/privacy}","received_events_url":"https://api.github.com/users/paceto256/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Sylius/Sylius/milestones/3","html_url":"https://github.com/Sylius/Sylius/milestones/v0.16.0","labels_url":"https://api.github.com/repos/Sylius/Sylius/milestones/3/labels","id":1104561,"number":3,"title":"v0.16.0","description":"Version v0.16.0 of Sylius platform.","creator":{"login":"pjedrzejewski","id":614970,"avatar_url":"https://avatars.githubusercontent.com/u/614970?v=3","gravatar_id":"","url":"https://api.github.com/users/pjedrzejewski","html_url":"https://github.com/pjedrzejewski","followers_url":"https://api.github.com/users/pjedrzejewski/followers","following_url":"https://api.github.com/users/pjedrzejewski/following{/other_user}","gists_url":"https://api.github.com/users/pjedrzejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pjedrzejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjedrzejewski/subscriptions","organizations_url":"https://api.github.com/users/pjedrzejewski/orgs","repos_url":"https://api.github.com/users/pjedrzejewski/repos","events_url":"https://api.github.com/users/pjedrzejewski/events{/privacy}","received_events_url":"https://api.github.com/users/pjedrzejewski/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":112,"state":"open","created_at":"2015-05-11T11:10:02Z","updated_at":"2015-12-03T15:14:22Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-10T12:24:51Z","updated_at":"2015-12-04T07:57:04Z","closed_at":null,"body":"1. I create a Product \"A\" with two \"choices attributes\".\r\n2. I go to edit this product and click on the attributes tab\r\n\r\nCurrent:\r\nThe select menus for both choice attributes are set to the first available value, but not to the database value, so If you click \"Save Changes\" the real values of the attributes will be overwritten.\r\n\r\nExpected:\r\nThe select menus should be set according to the database values of the attributes."},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/161903146","html_url":"https://github.com/Sylius/Sylius/issues/3254#issuecomment-161903146","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3254","id":161903146,"user":{"login":"pjedrzejewski","id":614970,"avatar_url":"https://avatars.githubusercontent.com/u/614970?v=3","gravatar_id":"","url":"https://api.github.com/users/pjedrzejewski","html_url":"https://github.com/pjedrzejewski","followers_url":"https://api.github.com/users/pjedrzejewski/followers","following_url":"https://api.github.com/users/pjedrzejewski/following{/other_user}","gists_url":"https://api.github.com/users/pjedrzejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pjedrzejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjedrzejewski/subscriptions","organizations_url":"https://api.github.com/users/pjedrzejewski/orgs","repos_url":"https://api.github.com/users/pjedrzejewski/repos","events_url":"https://api.github.com/users/pjedrzejewski/events{/privacy}","received_events_url":"https://api.github.com/users/pjedrzejewski/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T07:57:04Z","updated_at":"2015-12-04T07:57:04Z","body":"This will be resolved by https://github.com/Sylius/Sylius/pull/3608."}}