{"action":"closed","number":296,"pull_request":{"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296","id":42253126,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared/pull/296","diff_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared/pull/296.diff","patch_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared/pull/296.patch","issue_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/296","number":296,"state":"closed","locked":false,"title":"Fix to prevent a crash when a lookup field is null","user":{"login":"surajp","id":2766964,"avatar_url":"https://avatars.githubusercontent.com/u/2766964?v=3","gravatar_id":"","url":"https://api.github.com/users/surajp","html_url":"https://github.com/surajp","followers_url":"https://api.github.com/users/surajp/followers","following_url":"https://api.github.com/users/surajp/following{/other_user}","gists_url":"https://api.github.com/users/surajp/gists{/gist_id}","starred_url":"https://api.github.com/users/surajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajp/subscriptions","organizations_url":"https://api.github.com/users/surajp/orgs","repos_url":"https://api.github.com/users/surajp/repos","events_url":"https://api.github.com/users/surajp/events{/privacy}","received_events_url":"https://api.github.com/users/surajp/received_events","type":"User","site_admin":false},"body":"When a lookup field is null and a field on the object was being queried for, there was a crash happening. Added check to make sure the lookup field is not null before querying for the related field","created_at":"2015-08-12T15:29:32Z","updated_at":"2015-08-12T17:37:26Z","closed_at":"2015-08-12T17:37:26Z","merged_at":null,"merge_commit_sha":"893e6919f8d4a833bb4c4798ca4a45b77ad54027","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296/commits","review_comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296/comments","review_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/296/comments","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/statuses/774eddf8cb88c11cc72fd40162f97be691e1e9a6","head":{"label":"surajp:master","ref":"master","sha":"774eddf8cb88c11cc72fd40162f97be691e1e9a6","user":{"login":"surajp","id":2766964,"avatar_url":"https://avatars.githubusercontent.com/u/2766964?v=3","gravatar_id":"","url":"https://api.github.com/users/surajp","html_url":"https://github.com/surajp","followers_url":"https://api.github.com/users/surajp/followers","following_url":"https://api.github.com/users/surajp/following{/other_user}","gists_url":"https://api.github.com/users/surajp/gists{/gist_id}","starred_url":"https://api.github.com/users/surajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajp/subscriptions","organizations_url":"https://api.github.com/users/surajp/orgs","repos_url":"https://api.github.com/users/surajp/repos","events_url":"https://api.github.com/users/surajp/events{/privacy}","received_events_url":"https://api.github.com/users/surajp/received_events","type":"User","site_admin":false},"repo":{"id":40605930,"name":"SalesforceMobileSDK-Shared","full_name":"surajp/SalesforceMobileSDK-Shared","owner":{"login":"surajp","id":2766964,"avatar_url":"https://avatars.githubusercontent.com/u/2766964?v=3","gravatar_id":"","url":"https://api.github.com/users/surajp","html_url":"https://github.com/surajp","followers_url":"https://api.github.com/users/surajp/followers","following_url":"https://api.github.com/users/surajp/following{/other_user}","gists_url":"https://api.github.com/users/surajp/gists{/gist_id}","starred_url":"https://api.github.com/users/surajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajp/subscriptions","organizations_url":"https://api.github.com/users/surajp/orgs","repos_url":"https://api.github.com/users/surajp/repos","events_url":"https://api.github.com/users/surajp/events{/privacy}","received_events_url":"https://api.github.com/users/surajp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/surajp/SalesforceMobileSDK-Shared","description":"","fork":true,"url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared","forks_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/forks","keys_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/keys{/key_id}","collaborators_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/teams","hooks_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/hooks","issue_events_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/issues/events{/number}","events_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/events","assignees_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/assignees{/user}","branches_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/branches{/branch}","tags_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/tags","blobs_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/git/refs{/sha}","trees_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/git/trees{/sha}","statuses_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/statuses/{sha}","languages_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/languages","stargazers_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/stargazers","contributors_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/contributors","subscribers_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/subscribers","subscription_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/subscription","commits_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/commits{/sha}","git_commits_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/git/commits{/sha}","comments_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/comments{/number}","issue_comment_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/issues/comments{/number}","contents_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/contents/{+path}","compare_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/compare/{base}...{head}","merges_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/merges","archive_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/downloads","issues_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/issues{/number}","pulls_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/pulls{/number}","milestones_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/milestones{/number}","notifications_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/labels{/name}","releases_url":"https://api.github.com/repos/surajp/SalesforceMobileSDK-Shared/releases{/id}","created_at":"2015-08-12T14:43:04Z","updated_at":"2015-08-12T14:43:04Z","pushed_at":"2015-08-12T15:28:37Z","git_url":"git://github.com/surajp/SalesforceMobileSDK-Shared.git","ssh_url":"git@github.com:surajp/SalesforceMobileSDK-Shared.git","clone_url":"https://github.com/surajp/SalesforceMobileSDK-Shared.git","svn_url":"https://github.com/surajp/SalesforceMobileSDK-Shared","homepage":"","size":20951,"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":"forcedotcom:master","ref":"master","sha":"19bc2d43445f1d0b2f2cf00160367ca768836db3","user":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"repo":{"id":2806605,"name":"SalesforceMobileSDK-Shared","full_name":"forcedotcom/SalesforceMobileSDK-Shared","owner":{"login":"forcedotcom","id":464563,"avatar_url":"https://avatars.githubusercontent.com/u/464563?v=3","gravatar_id":"","url":"https://api.github.com/users/forcedotcom","html_url":"https://github.com/forcedotcom","followers_url":"https://api.github.com/users/forcedotcom/followers","following_url":"https://api.github.com/users/forcedotcom/following{/other_user}","gists_url":"https://api.github.com/users/forcedotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/forcedotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forcedotcom/subscriptions","organizations_url":"https://api.github.com/users/forcedotcom/orgs","repos_url":"https://api.github.com/users/forcedotcom/repos","events_url":"https://api.github.com/users/forcedotcom/events{/privacy}","received_events_url":"https://api.github.com/users/forcedotcom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared","description":"","fork":false,"url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared","forks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/forks","keys_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/teams","hooks_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/hooks","issue_events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/events{/number}","events_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/events","assignees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/assignees{/user}","branches_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/branches{/branch}","tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/tags","blobs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/git/refs{/sha}","trees_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/statuses/{sha}","languages_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/languages","stargazers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/stargazers","contributors_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/contributors","subscribers_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/subscribers","subscription_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/subscription","commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/commits{/sha}","git_commits_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/git/commits{/sha}","comments_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/comments{/number}","issue_comment_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/comments{/number}","contents_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/contents/{+path}","compare_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/merges","archive_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/downloads","issues_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues{/number}","pulls_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls{/number}","milestones_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/milestones{/number}","notifications_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/labels{/name}","releases_url":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/releases{/id}","created_at":"2011-11-19T00:34:35Z","updated_at":"2015-07-07T18:56:57Z","pushed_at":"2015-08-12T15:29:32Z","git_url":"git://github.com/forcedotcom/SalesforceMobileSDK-Shared.git","ssh_url":"git@github.com:forcedotcom/SalesforceMobileSDK-Shared.git","clone_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared.git","svn_url":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared","homepage":"","size":20951,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":2,"forks":39,"open_issues":2,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296"},"html":{"href":"https://github.com/forcedotcom/SalesforceMobileSDK-Shared/pull/296"},"issue":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/296"},"comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/forcedotcom/SalesforceMobileSDK-Shared/statuses/774eddf8cb88c11cc72fd40162f97be691e1e9a6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}