{"action":"closed","number":156,"pull_request":{"url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156","id":34737497,"html_url":"https://github.com/CRESS-Surrey/eXtraWidgets/pull/156","diff_url":"https://github.com/CRESS-Surrey/eXtraWidgets/pull/156.diff","patch_url":"https://github.com/CRESS-Surrey/eXtraWidgets/pull/156.patch","issue_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/156","number":156,"state":"closed","locked":false,"title":"Fix error when widgets are changed then removed","user":{"login":"qiemem","id":28215,"avatar_url":"https://avatars.githubusercontent.com/u/28215?v=3","gravatar_id":"","url":"https://api.github.com/users/qiemem","html_url":"https://github.com/qiemem","followers_url":"https://api.github.com/users/qiemem/followers","following_url":"https://api.github.com/users/qiemem/following{/other_user}","gists_url":"https://api.github.com/users/qiemem/gists{/gist_id}","starred_url":"https://api.github.com/users/qiemem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiemem/subscriptions","organizations_url":"https://api.github.com/users/qiemem/orgs","repos_url":"https://api.github.com/users/qiemem/repos","events_url":"https://api.github.com/users/qiemem/events{/privacy}","received_events_url":"https://api.github.com/users/qiemem/received_events","type":"User","site_admin":false},"body":"Some test cases:\r\n\r\n```\r\nextensions [ xw ]\r\n\r\nto test1\r\n  xw:clear-all\r\n  xw:create-tab \"foo\"\r\n  xw:create-chooser \"test\" [\r\n    xw:set-items [\"one\" \"two\"]\r\n  ]\r\n  xw:remove \"test\"\r\nend\r\n\r\nto test2\r\n  xw:clear-all\r\n  xw:create-tab \"foo\"\r\n  xw:create-chooser \"test\" [\r\n    xw:set-items [\"one\" \"two\"]\r\n    xw:on-selected-item-change [\r\n      show xw:selected-item\r\n    ]\r\n  ]\r\n  xw:remove \"test\"\r\nend\r\n```\r\n\r\nAlthough these use with widget creation, the problem affects widget change as well.","created_at":"2015-05-05T15:43:02Z","updated_at":"2015-05-05T17:09:35Z","closed_at":"2015-05-05T17:09:35Z","merged_at":"2015-05-05T17:09:35Z","merge_commit_sha":"3e2d80c80cffd9459d209f1da600a50d60106fa8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156/commits","review_comments_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156/comments","review_comment_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/156/comments","statuses_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/statuses/1f6175e623df6b19faf3c62f480a9256a6bb423d","head":{"label":"qiemem:fix-change-then-remove","ref":"fix-change-then-remove","sha":"1f6175e623df6b19faf3c62f480a9256a6bb423d","user":{"login":"qiemem","id":28215,"avatar_url":"https://avatars.githubusercontent.com/u/28215?v=3","gravatar_id":"","url":"https://api.github.com/users/qiemem","html_url":"https://github.com/qiemem","followers_url":"https://api.github.com/users/qiemem/followers","following_url":"https://api.github.com/users/qiemem/following{/other_user}","gists_url":"https://api.github.com/users/qiemem/gists{/gist_id}","starred_url":"https://api.github.com/users/qiemem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiemem/subscriptions","organizations_url":"https://api.github.com/users/qiemem/orgs","repos_url":"https://api.github.com/users/qiemem/repos","events_url":"https://api.github.com/users/qiemem/events{/privacy}","received_events_url":"https://api.github.com/users/qiemem/received_events","type":"User","site_admin":false},"repo":{"id":30629160,"name":"eXtraWidgets","full_name":"qiemem/eXtraWidgets","owner":{"login":"qiemem","id":28215,"avatar_url":"https://avatars.githubusercontent.com/u/28215?v=3","gravatar_id":"","url":"https://api.github.com/users/qiemem","html_url":"https://github.com/qiemem","followers_url":"https://api.github.com/users/qiemem/followers","following_url":"https://api.github.com/users/qiemem/following{/other_user}","gists_url":"https://api.github.com/users/qiemem/gists{/gist_id}","starred_url":"https://api.github.com/users/qiemem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiemem/subscriptions","organizations_url":"https://api.github.com/users/qiemem/orgs","repos_url":"https://api.github.com/users/qiemem/repos","events_url":"https://api.github.com/users/qiemem/events{/privacy}","received_events_url":"https://api.github.com/users/qiemem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qiemem/eXtraWidgets","description":"An extension for creating additional interface tabs in the NetLogo GUI and putting custom widgets on them.","fork":true,"url":"https://api.github.com/repos/qiemem/eXtraWidgets","forks_url":"https://api.github.com/repos/qiemem/eXtraWidgets/forks","keys_url":"https://api.github.com/repos/qiemem/eXtraWidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qiemem/eXtraWidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qiemem/eXtraWidgets/teams","hooks_url":"https://api.github.com/repos/qiemem/eXtraWidgets/hooks","issue_events_url":"https://api.github.com/repos/qiemem/eXtraWidgets/issues/events{/number}","events_url":"https://api.github.com/repos/qiemem/eXtraWidgets/events","assignees_url":"https://api.github.com/repos/qiemem/eXtraWidgets/assignees{/user}","branches_url":"https://api.github.com/repos/qiemem/eXtraWidgets/branches{/branch}","tags_url":"https://api.github.com/repos/qiemem/eXtraWidgets/tags","blobs_url":"https://api.github.com/repos/qiemem/eXtraWidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qiemem/eXtraWidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qiemem/eXtraWidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/qiemem/eXtraWidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qiemem/eXtraWidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/qiemem/eXtraWidgets/languages","stargazers_url":"https://api.github.com/repos/qiemem/eXtraWidgets/stargazers","contributors_url":"https://api.github.com/repos/qiemem/eXtraWidgets/contributors","subscribers_url":"https://api.github.com/repos/qiemem/eXtraWidgets/subscribers","subscription_url":"https://api.github.com/repos/qiemem/eXtraWidgets/subscription","commits_url":"https://api.github.com/repos/qiemem/eXtraWidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/qiemem/eXtraWidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/qiemem/eXtraWidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/qiemem/eXtraWidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/qiemem/eXtraWidgets/contents/{+path}","compare_url":"https://api.github.com/repos/qiemem/eXtraWidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qiemem/eXtraWidgets/merges","archive_url":"https://api.github.com/repos/qiemem/eXtraWidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qiemem/eXtraWidgets/downloads","issues_url":"https://api.github.com/repos/qiemem/eXtraWidgets/issues{/number}","pulls_url":"https://api.github.com/repos/qiemem/eXtraWidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/qiemem/eXtraWidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/qiemem/eXtraWidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qiemem/eXtraWidgets/labels{/name}","releases_url":"https://api.github.com/repos/qiemem/eXtraWidgets/releases{/id}","created_at":"2015-02-11T03:42:22Z","updated_at":"2015-05-05T14:57:00Z","pushed_at":"2015-05-05T15:39:47Z","git_url":"git://github.com/qiemem/eXtraWidgets.git","ssh_url":"git@github.com:qiemem/eXtraWidgets.git","clone_url":"https://github.com/qiemem/eXtraWidgets.git","svn_url":"https://github.com/qiemem/eXtraWidgets","homepage":"","size":1778,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CRESS-Surrey:master","ref":"master","sha":"b4d3ff7b2ddb8cf4375199c7d31bc35161ece29e","user":{"login":"CRESS-Surrey","id":10078929,"avatar_url":"https://avatars.githubusercontent.com/u/10078929?v=3","gravatar_id":"","url":"https://api.github.com/users/CRESS-Surrey","html_url":"https://github.com/CRESS-Surrey","followers_url":"https://api.github.com/users/CRESS-Surrey/followers","following_url":"https://api.github.com/users/CRESS-Surrey/following{/other_user}","gists_url":"https://api.github.com/users/CRESS-Surrey/gists{/gist_id}","starred_url":"https://api.github.com/users/CRESS-Surrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CRESS-Surrey/subscriptions","organizations_url":"https://api.github.com/users/CRESS-Surrey/orgs","repos_url":"https://api.github.com/users/CRESS-Surrey/repos","events_url":"https://api.github.com/users/CRESS-Surrey/events{/privacy}","received_events_url":"https://api.github.com/users/CRESS-Surrey/received_events","type":"Organization","site_admin":false},"repo":{"id":24099885,"name":"eXtraWidgets","full_name":"CRESS-Surrey/eXtraWidgets","owner":{"login":"CRESS-Surrey","id":10078929,"avatar_url":"https://avatars.githubusercontent.com/u/10078929?v=3","gravatar_id":"","url":"https://api.github.com/users/CRESS-Surrey","html_url":"https://github.com/CRESS-Surrey","followers_url":"https://api.github.com/users/CRESS-Surrey/followers","following_url":"https://api.github.com/users/CRESS-Surrey/following{/other_user}","gists_url":"https://api.github.com/users/CRESS-Surrey/gists{/gist_id}","starred_url":"https://api.github.com/users/CRESS-Surrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CRESS-Surrey/subscriptions","organizations_url":"https://api.github.com/users/CRESS-Surrey/orgs","repos_url":"https://api.github.com/users/CRESS-Surrey/repos","events_url":"https://api.github.com/users/CRESS-Surrey/events{/privacy}","received_events_url":"https://api.github.com/users/CRESS-Surrey/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CRESS-Surrey/eXtraWidgets","description":"An extension for creating additional interface tabs in the NetLogo GUI and putting custom widgets on them.","fork":false,"url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets","forks_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/forks","keys_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/teams","hooks_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/hooks","issue_events_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/events{/number}","events_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/events","assignees_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/assignees{/user}","branches_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/branches{/branch}","tags_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/tags","blobs_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/languages","stargazers_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/stargazers","contributors_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/contributors","subscribers_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/subscribers","subscription_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/subscription","commits_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/contents/{+path}","compare_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/merges","archive_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/downloads","issues_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues{/number}","pulls_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/labels{/name}","releases_url":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/releases{/id}","created_at":"2014-09-16T13:10:46Z","updated_at":"2015-05-04T21:51:42Z","pushed_at":"2015-05-05T17:09:35Z","git_url":"git://github.com/CRESS-Surrey/eXtraWidgets.git","ssh_url":"git@github.com:CRESS-Surrey/eXtraWidgets.git","clone_url":"https://github.com/CRESS-Surrey/eXtraWidgets.git","svn_url":"https://github.com/CRESS-Surrey/eXtraWidgets","homepage":"","size":3373,"stargazers_count":7,"watchers_count":7,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156"},"html":{"href":"https://github.com/CRESS-Surrey/eXtraWidgets/pull/156"},"issue":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/156"},"comments":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/CRESS-Surrey/eXtraWidgets/statuses/1f6175e623df6b19faf3c62f480a9256a6bb423d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nicolaspayette","id":908754,"avatar_url":"https://avatars.githubusercontent.com/u/908754?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaspayette","html_url":"https://github.com/nicolaspayette","followers_url":"https://api.github.com/users/nicolaspayette/followers","following_url":"https://api.github.com/users/nicolaspayette/following{/other_user}","gists_url":"https://api.github.com/users/nicolaspayette/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaspayette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaspayette/subscriptions","organizations_url":"https://api.github.com/users/nicolaspayette/orgs","repos_url":"https://api.github.com/users/nicolaspayette/repos","events_url":"https://api.github.com/users/nicolaspayette/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaspayette/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":8,"changed_files":2}}