{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/framework/issues/10844","repository_url":"https://api.github.com/repos/vaadin/framework","labels_url":"https://api.github.com/repos/vaadin/framework/issues/10844/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/framework/issues/10844/comments","events_url":"https://api.github.com/repos/vaadin/framework/issues/10844/events","html_url":"https://github.com/vaadin/framework/issues/10844","id":316741467,"node_id":"MDU6SXNzdWUzMTY3NDE0Njc=","number":10844,"title":"DataProviderListener fires twice if rows are reordered using GridRowDragger","user":{"login":"dominic-simplan","id":22240239,"node_id":"MDQ6VXNlcjIyMjQwMjM5","avatar_url":"https://avatars1.githubusercontent.com/u/22240239?v=4","gravatar_id":"","url":"https://api.github.com/users/dominic-simplan","html_url":"https://github.com/dominic-simplan","followers_url":"https://api.github.com/users/dominic-simplan/followers","following_url":"https://api.github.com/users/dominic-simplan/following{/other_user}","gists_url":"https://api.github.com/users/dominic-simplan/gists{/gist_id}","starred_url":"https://api.github.com/users/dominic-simplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominic-simplan/subscriptions","organizations_url":"https://api.github.com/users/dominic-simplan/orgs","repos_url":"https://api.github.com/users/dominic-simplan/repos","events_url":"https://api.github.com/users/dominic-simplan/events{/privacy}","received_events_url":"https://api.github.com/users/dominic-simplan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-23T09:55:50Z","updated_at":"2018-09-20T10:06:07Z","closed_at":null,"author_association":"NONE","body":"If a GridRowDragger is used to allow reordering (drag & drop) of items in an Grid and a DataProviderListener is registered for the grids DataProvider, the DataProviderListener fires twice each time an item is reordered.\r\nSeems like the listener is triggered once for the source grid and once for the target grid, where in case of reordering items source and target grid is the same.\r\n\r\nExcpected behaviour: Listener fires only once.\r\nVaadin Framework version: 8.3.3\r\n\r\n```\r\nGrid<Item> grid = new Grid<>();\r\ngrid.getDataProvider().addDataProviderListener(l -> logger.info(\"Grid changed\"));\r\nGridRowDragger<Item> gridRowDragger = new GridRowDragger<>(grid);\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vaadin/framework/issues/comments/423124288","html_url":"https://github.com/vaadin/framework/issues/10844#issuecomment-423124288","issue_url":"https://api.github.com/repos/vaadin/framework/issues/10844","id":423124288,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzEyNDI4OA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-20T10:06:07Z","updated_at":"2018-09-20T10:06:07Z","author_association":"NONE","body":"Hello there!\n\nWe are sorry that this issue hasn't progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven't gotten around to fix this issue yet.\n\nThere are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):\n\n * Check if the issue is still valid for the latest version. There are dozens of duplicates in our issue tracker, so it is possible that the issue is already tackled. If it appears to be fixed, close the issue, otherwise report to the issue that it is still valid.\n * Provide more details how to reproduce the issue.\n * Explain why it is important to get this issue fixed and politely draw others attention to it e.g. via the forum or social media.\n * Add a reduced test case about the issue, so it is easier for somebody to start working on a solution.\n * Try [fixing the issue yourself](https://github.com/vaadin/framework/blob/master/CONTRIBUTING.md) and [create a pull request](https://help.github.com/categories/collaborating-with-issues-and-pull-requests/) that contains the test case and/or a fix for it. Handling the pull requests is the top priority for the core team.\n * If the issue is clearly a bug, use the [Warranty](https://vaadin.com/pricing) in your Vaadin subscription to raise its priority.\n\nThanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!\n"}}
{"actor":{"display_login":"stale"}}