{"action":"closed","number":207,"pull_request":{"url":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207","id":68508388,"html_url":"https://github.com/joyent/sdc-adminui/pull/207","diff_url":"https://github.com/joyent/sdc-adminui/pull/207.diff","patch_url":"https://github.com/joyent/sdc-adminui/pull/207.patch","issue_url":"https://api.github.com/repos/joyent/sdc-adminui/issues/207","number":207,"state":"closed","locked":false,"title":"ADMINUI-2305 VM page cannot be displayed for Manta zones","user":{"login":"arekinath","id":496427,"avatar_url":"https://avatars.githubusercontent.com/u/496427?v=3","gravatar_id":"","url":"https://api.github.com/users/arekinath","html_url":"https://github.com/arekinath","followers_url":"https://api.github.com/users/arekinath/followers","following_url":"https://api.github.com/users/arekinath/following{/other_user}","gists_url":"https://api.github.com/users/arekinath/gists{/gist_id}","starred_url":"https://api.github.com/users/arekinath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekinath/subscriptions","organizations_url":"https://api.github.com/users/arekinath/orgs","repos_url":"https://api.github.com/users/arekinath/repos","events_url":"https://api.github.com/users/arekinath/events{/privacy}","received_events_url":"https://api.github.com/users/arekinath/received_events","type":"User","site_admin":false},"body":"The VM details page cannot be displayed for Manta zones at the moment, as they have no valid package (`billing_id` is all zeros). The code in `components/pages/vm/index.jsx` is assuming that `pkg` will always be found and valid and dereferences it at line ~265.\r\n\r\nI've copied the ternary here from the recently added one for the VM image just above it.","created_at":"2016-05-01T21:42:43Z","updated_at":"2016-05-03T05:07:23Z","closed_at":"2016-05-03T05:07:23Z","merged_at":null,"merge_commit_sha":"de1ca9cff4f5150cbcb97b5843b0a00cf1df9e3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207/commits","review_comments_url":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207/comments","review_comment_url":"https://api.github.com/repos/joyent/sdc-adminui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joyent/sdc-adminui/issues/207/comments","statuses_url":"https://api.github.com/repos/joyent/sdc-adminui/statuses/90602376827b0d8dca413fcdd93151bdf445660c","head":{"label":"arekinath:adminui-2305","ref":"adminui-2305","sha":"90602376827b0d8dca413fcdd93151bdf445660c","user":{"login":"arekinath","id":496427,"avatar_url":"https://avatars.githubusercontent.com/u/496427?v=3","gravatar_id":"","url":"https://api.github.com/users/arekinath","html_url":"https://github.com/arekinath","followers_url":"https://api.github.com/users/arekinath/followers","following_url":"https://api.github.com/users/arekinath/following{/other_user}","gists_url":"https://api.github.com/users/arekinath/gists{/gist_id}","starred_url":"https://api.github.com/users/arekinath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekinath/subscriptions","organizations_url":"https://api.github.com/users/arekinath/orgs","repos_url":"https://api.github.com/users/arekinath/repos","events_url":"https://api.github.com/users/arekinath/events{/privacy}","received_events_url":"https://api.github.com/users/arekinath/received_events","type":"User","site_admin":false},"repo":{"id":57850635,"name":"sdc-adminui","full_name":"arekinath/sdc-adminui","owner":{"login":"arekinath","id":496427,"avatar_url":"https://avatars.githubusercontent.com/u/496427?v=3","gravatar_id":"","url":"https://api.github.com/users/arekinath","html_url":"https://github.com/arekinath","followers_url":"https://api.github.com/users/arekinath/followers","following_url":"https://api.github.com/users/arekinath/following{/other_user}","gists_url":"https://api.github.com/users/arekinath/gists{/gist_id}","starred_url":"https://api.github.com/users/arekinath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekinath/subscriptions","organizations_url":"https://api.github.com/users/arekinath/orgs","repos_url":"https://api.github.com/users/arekinath/repos","events_url":"https://api.github.com/users/arekinath/events{/privacy}","received_events_url":"https://api.github.com/users/arekinath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arekinath/sdc-adminui","description":"Operator portal for SmartDataCenter","fork":true,"url":"https://api.github.com/repos/arekinath/sdc-adminui","forks_url":"https://api.github.com/repos/arekinath/sdc-adminui/forks","keys_url":"https://api.github.com/repos/arekinath/sdc-adminui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arekinath/sdc-adminui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arekinath/sdc-adminui/teams","hooks_url":"https://api.github.com/repos/arekinath/sdc-adminui/hooks","issue_events_url":"https://api.github.com/repos/arekinath/sdc-adminui/issues/events{/number}","events_url":"https://api.github.com/repos/arekinath/sdc-adminui/events","assignees_url":"https://api.github.com/repos/arekinath/sdc-adminui/assignees{/user}","branches_url":"https://api.github.com/repos/arekinath/sdc-adminui/branches{/branch}","tags_url":"https://api.github.com/repos/arekinath/sdc-adminui/tags","blobs_url":"https://api.github.com/repos/arekinath/sdc-adminui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arekinath/sdc-adminui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arekinath/sdc-adminui/git/refs{/sha}","trees_url":"https://api.github.com/repos/arekinath/sdc-adminui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arekinath/sdc-adminui/statuses/{sha}","languages_url":"https://api.github.com/repos/arekinath/sdc-adminui/languages","stargazers_url":"https://api.github.com/repos/arekinath/sdc-adminui/stargazers","contributors_url":"https://api.github.com/repos/arekinath/sdc-adminui/contributors","subscribers_url":"https://api.github.com/repos/arekinath/sdc-adminui/subscribers","subscription_url":"https://api.github.com/repos/arekinath/sdc-adminui/subscription","commits_url":"https://api.github.com/repos/arekinath/sdc-adminui/commits{/sha}","git_commits_url":"https://api.github.com/repos/arekinath/sdc-adminui/git/commits{/sha}","comments_url":"https://api.github.com/repos/arekinath/sdc-adminui/comments{/number}","issue_comment_url":"https://api.github.com/repos/arekinath/sdc-adminui/issues/comments{/number}","contents_url":"https://api.github.com/repos/arekinath/sdc-adminui/contents/{+path}","compare_url":"https://api.github.com/repos/arekinath/sdc-adminui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arekinath/sdc-adminui/merges","archive_url":"https://api.github.com/repos/arekinath/sdc-adminui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arekinath/sdc-adminui/downloads","issues_url":"https://api.github.com/repos/arekinath/sdc-adminui/issues{/number}","pulls_url":"https://api.github.com/repos/arekinath/sdc-adminui/pulls{/number}","milestones_url":"https://api.github.com/repos/arekinath/sdc-adminui/milestones{/number}","notifications_url":"https://api.github.com/repos/arekinath/sdc-adminui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arekinath/sdc-adminui/labels{/name}","releases_url":"https://api.github.com/repos/arekinath/sdc-adminui/releases{/id}","deployments_url":"https://api.github.com/repos/arekinath/sdc-adminui/deployments","created_at":"2016-05-01T21:41:30Z","updated_at":"2016-05-01T21:41:34Z","pushed_at":"2016-05-01T21:41:40Z","git_url":"git://github.com/arekinath/sdc-adminui.git","ssh_url":"git@github.com:arekinath/sdc-adminui.git","clone_url":"https://github.com/arekinath/sdc-adminui.git","svn_url":"https://github.com/arekinath/sdc-adminui","homepage":"","size":14404,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"joyent:master","ref":"master","sha":"ea97c760bdff0d0780c85a3a5a6d5d220c7c7235","user":{"login":"joyent","id":10161,"avatar_url":"https://avatars.githubusercontent.com/u/10161?v=3","gravatar_id":"","url":"https://api.github.com/users/joyent","html_url":"https://github.com/joyent","followers_url":"https://api.github.com/users/joyent/followers","following_url":"https://api.github.com/users/joyent/following{/other_user}","gists_url":"https://api.github.com/users/joyent/gists{/gist_id}","starred_url":"https://api.github.com/users/joyent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyent/subscriptions","organizations_url":"https://api.github.com/users/joyent/orgs","repos_url":"https://api.github.com/users/joyent/repos","events_url":"https://api.github.com/users/joyent/events{/privacy}","received_events_url":"https://api.github.com/users/joyent/received_events","type":"Organization","site_admin":false},"repo":{"id":23416190,"name":"sdc-adminui","full_name":"joyent/sdc-adminui","owner":{"login":"joyent","id":10161,"avatar_url":"https://avatars.githubusercontent.com/u/10161?v=3","gravatar_id":"","url":"https://api.github.com/users/joyent","html_url":"https://github.com/joyent","followers_url":"https://api.github.com/users/joyent/followers","following_url":"https://api.github.com/users/joyent/following{/other_user}","gists_url":"https://api.github.com/users/joyent/gists{/gist_id}","starred_url":"https://api.github.com/users/joyent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyent/subscriptions","organizations_url":"https://api.github.com/users/joyent/orgs","repos_url":"https://api.github.com/users/joyent/repos","events_url":"https://api.github.com/users/joyent/events{/privacy}","received_events_url":"https://api.github.com/users/joyent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joyent/sdc-adminui","description":"Operator portal for SmartDataCenter","fork":false,"url":"https://api.github.com/repos/joyent/sdc-adminui","forks_url":"https://api.github.com/repos/joyent/sdc-adminui/forks","keys_url":"https://api.github.com/repos/joyent/sdc-adminui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joyent/sdc-adminui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joyent/sdc-adminui/teams","hooks_url":"https://api.github.com/repos/joyent/sdc-adminui/hooks","issue_events_url":"https://api.github.com/repos/joyent/sdc-adminui/issues/events{/number}","events_url":"https://api.github.com/repos/joyent/sdc-adminui/events","assignees_url":"https://api.github.com/repos/joyent/sdc-adminui/assignees{/user}","branches_url":"https://api.github.com/repos/joyent/sdc-adminui/branches{/branch}","tags_url":"https://api.github.com/repos/joyent/sdc-adminui/tags","blobs_url":"https://api.github.com/repos/joyent/sdc-adminui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joyent/sdc-adminui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joyent/sdc-adminui/git/refs{/sha}","trees_url":"https://api.github.com/repos/joyent/sdc-adminui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joyent/sdc-adminui/statuses/{sha}","languages_url":"https://api.github.com/repos/joyent/sdc-adminui/languages","stargazers_url":"https://api.github.com/repos/joyent/sdc-adminui/stargazers","contributors_url":"https://api.github.com/repos/joyent/sdc-adminui/contributors","subscribers_url":"https://api.github.com/repos/joyent/sdc-adminui/subscribers","subscription_url":"https://api.github.com/repos/joyent/sdc-adminui/subscription","commits_url":"https://api.github.com/repos/joyent/sdc-adminui/commits{/sha}","git_commits_url":"https://api.github.com/repos/joyent/sdc-adminui/git/commits{/sha}","comments_url":"https://api.github.com/repos/joyent/sdc-adminui/comments{/number}","issue_comment_url":"https://api.github.com/repos/joyent/sdc-adminui/issues/comments{/number}","contents_url":"https://api.github.com/repos/joyent/sdc-adminui/contents/{+path}","compare_url":"https://api.github.com/repos/joyent/sdc-adminui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joyent/sdc-adminui/merges","archive_url":"https://api.github.com/repos/joyent/sdc-adminui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joyent/sdc-adminui/downloads","issues_url":"https://api.github.com/repos/joyent/sdc-adminui/issues{/number}","pulls_url":"https://api.github.com/repos/joyent/sdc-adminui/pulls{/number}","milestones_url":"https://api.github.com/repos/joyent/sdc-adminui/milestones{/number}","notifications_url":"https://api.github.com/repos/joyent/sdc-adminui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joyent/sdc-adminui/labels{/name}","releases_url":"https://api.github.com/repos/joyent/sdc-adminui/releases{/id}","deployments_url":"https://api.github.com/repos/joyent/sdc-adminui/deployments","created_at":"2014-08-28T05:18:06Z","updated_at":"2016-04-25T22:45:18Z","pushed_at":"2016-05-03T05:06:09Z","git_url":"git://github.com/joyent/sdc-adminui.git","ssh_url":"git@github.com:joyent/sdc-adminui.git","clone_url":"https://github.com/joyent/sdc-adminui.git","svn_url":"https://github.com/joyent/sdc-adminui","homepage":"","size":14615,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":6,"forks":12,"open_issues":6,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207"},"html":{"href":"https://github.com/joyent/sdc-adminui/pull/207"},"issue":{"href":"https://api.github.com/repos/joyent/sdc-adminui/issues/207"},"comments":{"href":"https://api.github.com/repos/joyent/sdc-adminui/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/joyent/sdc-adminui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joyent/sdc-adminui/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/joyent/sdc-adminui/statuses/90602376827b0d8dca413fcdd93151bdf445660c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":14,"deletions":10,"changed_files":1}}