{"action":"created","issue":{"url":"https://api.github.com/repos/cuba-platform/cuba/issues/1650","repository_url":"https://api.github.com/repos/cuba-platform/cuba","labels_url":"https://api.github.com/repos/cuba-platform/cuba/issues/1650/labels{/name}","comments_url":"https://api.github.com/repos/cuba-platform/cuba/issues/1650/comments","events_url":"https://api.github.com/repos/cuba-platform/cuba/issues/1650/events","html_url":"https://github.com/cuba-platform/cuba/issues/1650","id":388531293,"node_id":"MDU6SXNzdWUzODg1MzEyOTM=","number":1650,"title":"Incorrect values are set to the component with options after commitAndClose action","user":{"login":"Flaurite","id":22093943,"node_id":"MDQ6VXNlcjIyMDkzOTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22093943?v=4","gravatar_id":"","url":"https://api.github.com/users/Flaurite","html_url":"https://github.com/Flaurite","followers_url":"https://api.github.com/users/Flaurite/followers","following_url":"https://api.github.com/users/Flaurite/following{/other_user}","gists_url":"https://api.github.com/users/Flaurite/gists{/gist_id}","starred_url":"https://api.github.com/users/Flaurite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flaurite/subscriptions","organizations_url":"https://api.github.com/users/Flaurite/orgs","repos_url":"https://api.github.com/users/Flaurite/repos","events_url":"https://api.github.com/users/Flaurite/events{/privacy}","received_events_url":"https://api.github.com/users/Flaurite/received_events","type":"User","site_admin":false},"labels":[{"id":915872794,"node_id":"MDU6TGFiZWw5MTU4NzI3OTQ=","url":"https://api.github.com/repos/cuba-platform/cuba/labels/client:%20web","name":"client: web","color":"dfe88d","default":false},{"id":915873679,"node_id":"MDU6TGFiZWw5MTU4NzM2Nzk=","url":"https://api.github.com/repos/cuba-platform/cuba/labels/type:%20bug","name":"type: bug","color":"d73a4a","default":false}],"state":"open","locked":false,"assignee":{"login":"knstvk","id":5513878,"node_id":"MDQ6VXNlcjU1MTM4Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5513878?v=4","gravatar_id":"","url":"https://api.github.com/users/knstvk","html_url":"https://github.com/knstvk","followers_url":"https://api.github.com/users/knstvk/followers","following_url":"https://api.github.com/users/knstvk/following{/other_user}","gists_url":"https://api.github.com/users/knstvk/gists{/gist_id}","starred_url":"https://api.github.com/users/knstvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knstvk/subscriptions","organizations_url":"https://api.github.com/users/knstvk/orgs","repos_url":"https://api.github.com/users/knstvk/repos","events_url":"https://api.github.com/users/knstvk/events{/privacy}","received_events_url":"https://api.github.com/users/knstvk/received_events","type":"User","site_admin":false},"assignees":[{"login":"knstvk","id":5513878,"node_id":"MDQ6VXNlcjU1MTM4Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5513878?v=4","gravatar_id":"","url":"https://api.github.com/users/knstvk","html_url":"https://github.com/knstvk","followers_url":"https://api.github.com/users/knstvk/followers","following_url":"https://api.github.com/users/knstvk/following{/other_user}","gists_url":"https://api.github.com/users/knstvk/gists{/gist_id}","starred_url":"https://api.github.com/users/knstvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knstvk/subscriptions","organizations_url":"https://api.github.com/users/knstvk/orgs","repos_url":"https://api.github.com/users/knstvk/repos","events_url":"https://api.github.com/users/knstvk/events{/privacy}","received_events_url":"https://api.github.com/users/knstvk/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cuba-platform/cuba/milestones/9","html_url":"https://github.com/cuba-platform/cuba/milestone/9","labels_url":"https://api.github.com/repos/cuba-platform/cuba/milestones/9/labels","id":3301335,"node_id":"MDk6TWlsZXN0b25lMzMwMTMzNQ==","number":9,"title":"Release 7.0","description":"","creator":{"login":"rapekas","id":6643040,"node_id":"MDQ6VXNlcjY2NDMwNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6643040?v=4","gravatar_id":"","url":"https://api.github.com/users/rapekas","html_url":"https://github.com/rapekas","followers_url":"https://api.github.com/users/rapekas/followers","following_url":"https://api.github.com/users/rapekas/following{/other_user}","gists_url":"https://api.github.com/users/rapekas/gists{/gist_id}","starred_url":"https://api.github.com/users/rapekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapekas/subscriptions","organizations_url":"https://api.github.com/users/rapekas/orgs","repos_url":"https://api.github.com/users/rapekas/repos","events_url":"https://api.github.com/users/rapekas/events{/privacy}","received_events_url":"https://api.github.com/users/rapekas/received_events","type":"User","site_admin":false},"open_issues":122,"closed_issues":340,"state":"open","created_at":"2018-04-26T13:57:17Z","updated_at":"2018-12-12T14:33:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-12-07T07:06:05Z","updated_at":"2018-12-12T16:06:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Environment\r\n- Platform version: 7.0.0\r\n- Client type: Web\r\n\r\n### Description of the bug or enhancement\r\n\r\nSteps to reproduce:\r\n1. Apply attached patch for refapp: \r\n[optionList.zip](https://github.com/cuba-platform/cuba/files/2657092/optionList.zip)\r\n\r\n2. Create some `Repair` and `CarToken` instances (at least 2 CarTokens)\r\n3. Open: _Application -> Screens v7 -> menu-config.DemoBrowse_\r\n4. Select some repair (e.g repair1) and try to edit it\r\n5. In the editor screen: select two values of CarToken and save it.\r\n6. Edit this repair (repair1) again. Try to select one item of CarToken. And save it. \r\nAfter closing you will see \"Value changed\" notification.\r\n- Expected behavior\r\n`Value changed` event shouldn't be invoked\r\n- Actual behavior\r\nIf you use debug you will see that after commit action will be invoked `setValue()` of `WebOptionList` and it takes list of 2 items instead of 1.\r\n"},"comment":{"url":"https://api.github.com/repos/cuba-platform/cuba/issues/comments/446642369","html_url":"https://github.com/cuba-platform/cuba/issues/1650#issuecomment-446642369","issue_url":"https://api.github.com/repos/cuba-platform/cuba/issues/1650","id":446642369,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY0MjM2OQ==","user":{"login":"jreznot","id":1066152,"node_id":"MDQ6VXNlcjEwNjYxNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1066152?v=4","gravatar_id":"","url":"https://api.github.com/users/jreznot","html_url":"https://github.com/jreznot","followers_url":"https://api.github.com/users/jreznot/followers","following_url":"https://api.github.com/users/jreznot/following{/other_user}","gists_url":"https://api.github.com/users/jreznot/gists{/gist_id}","starred_url":"https://api.github.com/users/jreznot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreznot/subscriptions","organizations_url":"https://api.github.com/users/jreznot/orgs","repos_url":"https://api.github.com/users/jreznot/repos","events_url":"https://api.github.com/users/jreznot/events{/privacy}","received_events_url":"https://api.github.com/users/jreznot/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T16:06:33Z","updated_at":"2018-12-12T16:06:33Z","author_association":"MEMBER","body":"The main problem is:\r\n> If you use debug you will see that after commit action will be invoked setValue() of WebOptionList and it takes list of 2 items instead of 1."}}
{"actor":{"display_login":"jreznot"}}