{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1334","repository_url":"https://api.github.com/repos/Microsoft/pxt-microbit","labels_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1334/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1334/comments","events_url":"https://api.github.com/repos/Microsoft/pxt-microbit/issues/1334/events","html_url":"https://github.com/Microsoft/pxt-microbit/issues/1334","id":366087713,"node_id":"MDU6SXNzdWUzNjYwODc3MTM=","number":1334,"title":"Events are notified twice when listing for ANY and a specific value","user":{"login":"philipphenkel","id":828416,"node_id":"MDQ6VXNlcjgyODQxNg==","avatar_url":"https://avatars2.githubusercontent.com/u/828416?v=4","gravatar_id":"","url":"https://api.github.com/users/philipphenkel","html_url":"https://github.com/philipphenkel","followers_url":"https://api.github.com/users/philipphenkel/followers","following_url":"https://api.github.com/users/philipphenkel/following{/other_user}","gists_url":"https://api.github.com/users/philipphenkel/gists{/gist_id}","starred_url":"https://api.github.com/users/philipphenkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipphenkel/subscriptions","organizations_url":"https://api.github.com/users/philipphenkel/orgs","repos_url":"https://api.github.com/users/philipphenkel/repos","events_url":"https://api.github.com/users/philipphenkel/events{/privacy}","received_events_url":"https://api.github.com/users/philipphenkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-02T21:29:41Z","updated_at":"2018-10-02T21:29:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nEvents are notified twice when listing for ANY and a specific value for the same event source. This is caused by the implementation of registerWithDal.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nRun https://makecode.microbit.org/_MwM3KfKzCaU0\r\nPress button A or B: it shows 2\r\n\r\n**Expected behavior**\r\nEvent should be notified only once. Press button A or B: it shows 1\r\n\r\n**Screenshots**\r\n![bildschirmfoto 2018-10-02 um 23 24 19](https://user-images.githubusercontent.com/828416/46377914-5bab0d00-c69a-11e8-926a-92ed7cdb29f2.png)\r\n\r\n**Desktop (please complete the following information):**\r\n - affects all platforms\r\n\r\n\r\n"}}
{"actor":{"display_login":"philipphenkel"}}