{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3837","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3837/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3837/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3837/events","html_url":"https://github.com/bokeh/bokeh/issues/3837","id":131880199,"number":3837,"title":"Interaction stops working on chart reset","user":{"login":"jms90h5","id":6079892,"avatar_url":"https://avatars.githubusercontent.com/u/6079892?v=3","gravatar_id":"","url":"https://api.github.com/users/jms90h5","html_url":"https://github.com/jms90h5","followers_url":"https://api.github.com/users/jms90h5/followers","following_url":"https://api.github.com/users/jms90h5/following{/other_user}","gists_url":"https://api.github.com/users/jms90h5/gists{/gist_id}","starred_url":"https://api.github.com/users/jms90h5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jms90h5/subscriptions","organizations_url":"https://api.github.com/users/jms90h5/orgs","repos_url":"https://api.github.com/users/jms90h5/repos","events_url":"https://api.github.com/users/jms90h5/events{/privacy}","received_events_url":"https://api.github.com/users/jms90h5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20discussion","name":"type: discussion","color":"2659A0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-06T17:45:24Z","updated_at":"2016-02-22T17:24:04Z","closed_at":"2016-02-22T14:00:47Z","body":"\r\nThe attached slightly modified version of the interact_basic notebook demonstrates a problem with v0.11.1 where the interaction of a notebook stops working if a CustomJS callback is registered that attempts to retrieve the selection and the user clicks the chart reset button. (There are other conditions that will trigger the behavior but this is the simplest one to recreate. I see the same behavior in a different application if I do something like a box zoom or select instead of a reset (although interestingly in this small example that doesn't seem to cause the problem.)  The error reported in the javascript error is \"Cannot read property 'indices' of undefined\".\r\n\r\n[interact_basic.ipynb.zip](https://github.com/bokeh/bokeh/files/120376/interact_basic.ipynb.zip)"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/187278099","html_url":"https://github.com/bokeh/bokeh/issues/3837#issuecomment-187278099","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/3837","id":187278099,"user":{"login":"bryevdv","id":1078448,"avatar_url":"https://avatars.githubusercontent.com/u/1078448?v=3","gravatar_id":"","url":"https://api.github.com/users/bryevdv","html_url":"https://github.com/bryevdv","followers_url":"https://api.github.com/users/bryevdv/followers","following_url":"https://api.github.com/users/bryevdv/following{/other_user}","gists_url":"https://api.github.com/users/bryevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/bryevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryevdv/subscriptions","organizations_url":"https://api.github.com/users/bryevdv/orgs","repos_url":"https://api.github.com/users/bryevdv/repos","events_url":"https://api.github.com/users/bryevdv/events{/privacy}","received_events_url":"https://api.github.com/users/bryevdv/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T17:24:04Z","updated_at":"2016-02-22T17:24:04Z","body":"@jms90h5 I agree that's not ideal, but sometimes underlying issues have multiple manifestations and it's not always evident that two issue have the same underlying cause. FWIW I think in this case it was probably this PR that fixed things: https://github.com/bokeh/bokeh/pull/3487"}}