{"action":"closed","number":58,"pull_request":{"url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58","id":37826594,"html_url":"https://github.com/projectkudu/ARMExplorer/pull/58","diff_url":"https://github.com/projectkudu/ARMExplorer/pull/58.diff","patch_url":"https://github.com/projectkudu/ARMExplorer/pull/58.patch","issue_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/58","number":58,"state":"closed","locked":false,"title":"Fix the observable subscription when clicking on a tree node returns …","user":{"login":"ahmelsayed","id":645740,"avatar_url":"https://avatars.githubusercontent.com/u/645740?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmelsayed","html_url":"https://github.com/ahmelsayed","followers_url":"https://api.github.com/users/ahmelsayed/followers","following_url":"https://api.github.com/users/ahmelsayed/following{/other_user}","gists_url":"https://api.github.com/users/ahmelsayed/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmelsayed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmelsayed/subscriptions","organizations_url":"https://api.github.com/users/ahmelsayed/orgs","repos_url":"https://api.github.com/users/ahmelsayed/repos","events_url":"https://api.github.com/users/ahmelsayed/events{/privacy}","received_events_url":"https://api.github.com/users/ahmelsayed/received_events","type":"User","site_admin":false},"body":"…an error\r\n\r\n@shobak101 \r\nthis is to fix the spin-forever bug when the request is supposed to fail.\r\nWe are using [Rx](https://github.com/Reactive-Extensions/RxJS) for handling the user click events, which terminates the event subscription source on error. This is why you only see the error the first time but not after. This commit should fix that based on [this](http://stackoverflow.com/a/30878646/3234163).","created_at":"2015-06-16T18:33:37Z","updated_at":"2015-06-17T01:25:39Z","closed_at":"2015-06-17T01:25:39Z","merged_at":"2015-06-17T01:25:39Z","merge_commit_sha":"2bfacee157eb287a4268fd0a4d10d30c4cfa40fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58/commits","review_comments_url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58/comments","review_comment_url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/58/comments","statuses_url":"https://api.github.com/repos/projectkudu/ARMExplorer/statuses/f25d3f916a102380e89b5d1e26de8f66b6391cef","head":{"label":"projectkudu:fix-error-spin","ref":"fix-error-spin","sha":"f25d3f916a102380e89b5d1e26de8f66b6391cef","user":{"login":"projectkudu","id":927131,"avatar_url":"https://avatars.githubusercontent.com/u/927131?v=3","gravatar_id":"","url":"https://api.github.com/users/projectkudu","html_url":"https://github.com/projectkudu","followers_url":"https://api.github.com/users/projectkudu/followers","following_url":"https://api.github.com/users/projectkudu/following{/other_user}","gists_url":"https://api.github.com/users/projectkudu/gists{/gist_id}","starred_url":"https://api.github.com/users/projectkudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectkudu/subscriptions","organizations_url":"https://api.github.com/users/projectkudu/orgs","repos_url":"https://api.github.com/users/projectkudu/repos","events_url":"https://api.github.com/users/projectkudu/events{/privacy}","received_events_url":"https://api.github.com/users/projectkudu/received_events","type":"Organization","site_admin":false},"repo":{"id":30096551,"name":"ARMExplorer","full_name":"projectkudu/ARMExplorer","owner":{"login":"projectkudu","id":927131,"avatar_url":"https://avatars.githubusercontent.com/u/927131?v=3","gravatar_id":"","url":"https://api.github.com/users/projectkudu","html_url":"https://github.com/projectkudu","followers_url":"https://api.github.com/users/projectkudu/followers","following_url":"https://api.github.com/users/projectkudu/following{/other_user}","gists_url":"https://api.github.com/users/projectkudu/gists{/gist_id}","starred_url":"https://api.github.com/users/projectkudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectkudu/subscriptions","organizations_url":"https://api.github.com/users/projectkudu/orgs","repos_url":"https://api.github.com/users/projectkudu/repos","events_url":"https://api.github.com/users/projectkudu/events{/privacy}","received_events_url":"https://api.github.com/users/projectkudu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectkudu/ARMExplorer","description":"Azure Resource Explorer","fork":false,"url":"https://api.github.com/repos/projectkudu/ARMExplorer","forks_url":"https://api.github.com/repos/projectkudu/ARMExplorer/forks","keys_url":"https://api.github.com/repos/projectkudu/ARMExplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectkudu/ARMExplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectkudu/ARMExplorer/teams","hooks_url":"https://api.github.com/repos/projectkudu/ARMExplorer/hooks","issue_events_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/events{/number}","events_url":"https://api.github.com/repos/projectkudu/ARMExplorer/events","assignees_url":"https://api.github.com/repos/projectkudu/ARMExplorer/assignees{/user}","branches_url":"https://api.github.com/repos/projectkudu/ARMExplorer/branches{/branch}","tags_url":"https://api.github.com/repos/projectkudu/ARMExplorer/tags","blobs_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectkudu/ARMExplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/projectkudu/ARMExplorer/languages","stargazers_url":"https://api.github.com/repos/projectkudu/ARMExplorer/stargazers","contributors_url":"https://api.github.com/repos/projectkudu/ARMExplorer/contributors","subscribers_url":"https://api.github.com/repos/projectkudu/ARMExplorer/subscribers","subscription_url":"https://api.github.com/repos/projectkudu/ARMExplorer/subscription","commits_url":"https://api.github.com/repos/projectkudu/ARMExplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectkudu/ARMExplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectkudu/ARMExplorer/contents/{+path}","compare_url":"https://api.github.com/repos/projectkudu/ARMExplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectkudu/ARMExplorer/merges","archive_url":"https://api.github.com/repos/projectkudu/ARMExplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectkudu/ARMExplorer/downloads","issues_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues{/number}","pulls_url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/projectkudu/ARMExplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/projectkudu/ARMExplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectkudu/ARMExplorer/labels{/name}","releases_url":"https://api.github.com/repos/projectkudu/ARMExplorer/releases{/id}","created_at":"2015-01-31T00:08:45Z","updated_at":"2015-05-25T07:29:47Z","pushed_at":"2015-06-17T01:25:39Z","git_url":"git://github.com/projectkudu/ARMExplorer.git","ssh_url":"git@github.com:projectkudu/ARMExplorer.git","clone_url":"https://github.com/projectkudu/ARMExplorer.git","svn_url":"https://github.com/projectkudu/ARMExplorer","homepage":"","size":2182,"stargazers_count":54,"watchers_count":54,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":21,"forks":13,"open_issues":21,"watchers":54,"default_branch":"master"}},"base":{"label":"projectkudu:master","ref":"master","sha":"98263ea2574763d1cef18276cd4c15d536e2de93","user":{"login":"projectkudu","id":927131,"avatar_url":"https://avatars.githubusercontent.com/u/927131?v=3","gravatar_id":"","url":"https://api.github.com/users/projectkudu","html_url":"https://github.com/projectkudu","followers_url":"https://api.github.com/users/projectkudu/followers","following_url":"https://api.github.com/users/projectkudu/following{/other_user}","gists_url":"https://api.github.com/users/projectkudu/gists{/gist_id}","starred_url":"https://api.github.com/users/projectkudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectkudu/subscriptions","organizations_url":"https://api.github.com/users/projectkudu/orgs","repos_url":"https://api.github.com/users/projectkudu/repos","events_url":"https://api.github.com/users/projectkudu/events{/privacy}","received_events_url":"https://api.github.com/users/projectkudu/received_events","type":"Organization","site_admin":false},"repo":{"id":30096551,"name":"ARMExplorer","full_name":"projectkudu/ARMExplorer","owner":{"login":"projectkudu","id":927131,"avatar_url":"https://avatars.githubusercontent.com/u/927131?v=3","gravatar_id":"","url":"https://api.github.com/users/projectkudu","html_url":"https://github.com/projectkudu","followers_url":"https://api.github.com/users/projectkudu/followers","following_url":"https://api.github.com/users/projectkudu/following{/other_user}","gists_url":"https://api.github.com/users/projectkudu/gists{/gist_id}","starred_url":"https://api.github.com/users/projectkudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectkudu/subscriptions","organizations_url":"https://api.github.com/users/projectkudu/orgs","repos_url":"https://api.github.com/users/projectkudu/repos","events_url":"https://api.github.com/users/projectkudu/events{/privacy}","received_events_url":"https://api.github.com/users/projectkudu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectkudu/ARMExplorer","description":"Azure Resource Explorer","fork":false,"url":"https://api.github.com/repos/projectkudu/ARMExplorer","forks_url":"https://api.github.com/repos/projectkudu/ARMExplorer/forks","keys_url":"https://api.github.com/repos/projectkudu/ARMExplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectkudu/ARMExplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectkudu/ARMExplorer/teams","hooks_url":"https://api.github.com/repos/projectkudu/ARMExplorer/hooks","issue_events_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/events{/number}","events_url":"https://api.github.com/repos/projectkudu/ARMExplorer/events","assignees_url":"https://api.github.com/repos/projectkudu/ARMExplorer/assignees{/user}","branches_url":"https://api.github.com/repos/projectkudu/ARMExplorer/branches{/branch}","tags_url":"https://api.github.com/repos/projectkudu/ARMExplorer/tags","blobs_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectkudu/ARMExplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/projectkudu/ARMExplorer/languages","stargazers_url":"https://api.github.com/repos/projectkudu/ARMExplorer/stargazers","contributors_url":"https://api.github.com/repos/projectkudu/ARMExplorer/contributors","subscribers_url":"https://api.github.com/repos/projectkudu/ARMExplorer/subscribers","subscription_url":"https://api.github.com/repos/projectkudu/ARMExplorer/subscription","commits_url":"https://api.github.com/repos/projectkudu/ARMExplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectkudu/ARMExplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectkudu/ARMExplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectkudu/ARMExplorer/contents/{+path}","compare_url":"https://api.github.com/repos/projectkudu/ARMExplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectkudu/ARMExplorer/merges","archive_url":"https://api.github.com/repos/projectkudu/ARMExplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectkudu/ARMExplorer/downloads","issues_url":"https://api.github.com/repos/projectkudu/ARMExplorer/issues{/number}","pulls_url":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/projectkudu/ARMExplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/projectkudu/ARMExplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectkudu/ARMExplorer/labels{/name}","releases_url":"https://api.github.com/repos/projectkudu/ARMExplorer/releases{/id}","created_at":"2015-01-31T00:08:45Z","updated_at":"2015-05-25T07:29:47Z","pushed_at":"2015-06-17T01:25:39Z","git_url":"git://github.com/projectkudu/ARMExplorer.git","ssh_url":"git@github.com:projectkudu/ARMExplorer.git","clone_url":"https://github.com/projectkudu/ARMExplorer.git","svn_url":"https://github.com/projectkudu/ARMExplorer","homepage":"","size":2182,"stargazers_count":54,"watchers_count":54,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":21,"forks":13,"open_issues":21,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58"},"html":{"href":"https://github.com/projectkudu/ARMExplorer/pull/58"},"issue":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/58"},"comments":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/projectkudu/ARMExplorer/statuses/f25d3f916a102380e89b5d1e26de8f66b6391cef"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ahmelsayed","id":645740,"avatar_url":"https://avatars.githubusercontent.com/u/645740?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmelsayed","html_url":"https://github.com/ahmelsayed","followers_url":"https://api.github.com/users/ahmelsayed/followers","following_url":"https://api.github.com/users/ahmelsayed/following{/other_user}","gists_url":"https://api.github.com/users/ahmelsayed/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmelsayed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmelsayed/subscriptions","organizations_url":"https://api.github.com/users/ahmelsayed/orgs","repos_url":"https://api.github.com/users/ahmelsayed/repos","events_url":"https://api.github.com/users/ahmelsayed/events{/privacy}","received_events_url":"https://api.github.com/users/ahmelsayed/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":19,"changed_files":1}}