{"action":"opened","number":816,"pull_request":{"url":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816","id":231982330,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxOTgyMzMw","html_url":"https://github.com/tulibraries/tul_cob/pull/816","diff_url":"https://github.com/tulibraries/tul_cob/pull/816.diff","patch_url":"https://github.com/tulibraries/tul_cob/pull/816.patch","issue_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/816","number":816,"state":"open","locked":false,"title":"[BL-359] Fix bound-with doc throws on fetch.","user":{"login":"dkinzer","id":444215,"node_id":"MDQ6VXNlcjQ0NDIxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/444215?v=4","gravatar_id":"","url":"https://api.github.com/users/dkinzer","html_url":"https://github.com/dkinzer","followers_url":"https://api.github.com/users/dkinzer/followers","following_url":"https://api.github.com/users/dkinzer/following{/other_user}","gists_url":"https://api.github.com/users/dkinzer/gists{/gist_id}","starred_url":"https://api.github.com/users/dkinzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkinzer/subscriptions","organizations_url":"https://api.github.com/users/dkinzer/orgs","repos_url":"https://api.github.com/users/dkinzer/repos","events_url":"https://api.github.com/users/dkinzer/events{/privacy}","received_events_url":"https://api.github.com/users/dkinzer/received_events","type":"User","site_admin":false},"body":"The mms_id and the doc_id are not interchangeable for bound-with items.\nThus, when fetching a bound-with item using mms_id, solr will return nil\ncausing havoc.  This commit fixes the issue by passing doc_id along to\nthe controller as well as rescuing from error with a dummy Solr document\nif all else fails.","created_at":"2018-11-19T13:58:22Z","updated_at":"2018-11-19T13:58:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816/commits","review_comments_url":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816/comments","review_comment_url":"https://api.github.com/repos/tulibraries/tul_cob/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/816/comments","statuses_url":"https://api.github.com/repos/tulibraries/tul_cob/statuses/7157ce0d69640fa5e98b5799465c32b0d38de1ba","head":{"label":"tulibraries:fix-bound-with-throws","ref":"fix-bound-with-throws","sha":"7157ce0d69640fa5e98b5799465c32b0d38de1ba","user":{"login":"tulibraries","id":7795826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTU4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/7795826?v=4","gravatar_id":"","url":"https://api.github.com/users/tulibraries","html_url":"https://github.com/tulibraries","followers_url":"https://api.github.com/users/tulibraries/followers","following_url":"https://api.github.com/users/tulibraries/following{/other_user}","gists_url":"https://api.github.com/users/tulibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/tulibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulibraries/subscriptions","organizations_url":"https://api.github.com/users/tulibraries/orgs","repos_url":"https://api.github.com/users/tulibraries/repos","events_url":"https://api.github.com/users/tulibraries/events{/privacy}","received_events_url":"https://api.github.com/users/tulibraries/received_events","type":"Organization","site_admin":false},"repo":{"id":73957201,"node_id":"MDEwOlJlcG9zaXRvcnk3Mzk1NzIwMQ==","name":"tul_cob","full_name":"tulibraries/tul_cob","private":false,"owner":{"login":"tulibraries","id":7795826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTU4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/7795826?v=4","gravatar_id":"","url":"https://api.github.com/users/tulibraries","html_url":"https://github.com/tulibraries","followers_url":"https://api.github.com/users/tulibraries/followers","following_url":"https://api.github.com/users/tulibraries/following{/other_user}","gists_url":"https://api.github.com/users/tulibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/tulibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulibraries/subscriptions","organizations_url":"https://api.github.com/users/tulibraries/orgs","repos_url":"https://api.github.com/users/tulibraries/repos","events_url":"https://api.github.com/users/tulibraries/events{/privacy}","received_events_url":"https://api.github.com/users/tulibraries/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tulibraries/tul_cob","description":"Catalogue on Blacklight","fork":false,"url":"https://api.github.com/repos/tulibraries/tul_cob","forks_url":"https://api.github.com/repos/tulibraries/tul_cob/forks","keys_url":"https://api.github.com/repos/tulibraries/tul_cob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tulibraries/tul_cob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tulibraries/tul_cob/teams","hooks_url":"https://api.github.com/repos/tulibraries/tul_cob/hooks","issue_events_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/events{/number}","events_url":"https://api.github.com/repos/tulibraries/tul_cob/events","assignees_url":"https://api.github.com/repos/tulibraries/tul_cob/assignees{/user}","branches_url":"https://api.github.com/repos/tulibraries/tul_cob/branches{/branch}","tags_url":"https://api.github.com/repos/tulibraries/tul_cob/tags","blobs_url":"https://api.github.com/repos/tulibraries/tul_cob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tulibraries/tul_cob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tulibraries/tul_cob/git/refs{/sha}","trees_url":"https://api.github.com/repos/tulibraries/tul_cob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tulibraries/tul_cob/statuses/{sha}","languages_url":"https://api.github.com/repos/tulibraries/tul_cob/languages","stargazers_url":"https://api.github.com/repos/tulibraries/tul_cob/stargazers","contributors_url":"https://api.github.com/repos/tulibraries/tul_cob/contributors","subscribers_url":"https://api.github.com/repos/tulibraries/tul_cob/subscribers","subscription_url":"https://api.github.com/repos/tulibraries/tul_cob/subscription","commits_url":"https://api.github.com/repos/tulibraries/tul_cob/commits{/sha}","git_commits_url":"https://api.github.com/repos/tulibraries/tul_cob/git/commits{/sha}","comments_url":"https://api.github.com/repos/tulibraries/tul_cob/comments{/number}","issue_comment_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/comments{/number}","contents_url":"https://api.github.com/repos/tulibraries/tul_cob/contents/{+path}","compare_url":"https://api.github.com/repos/tulibraries/tul_cob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tulibraries/tul_cob/merges","archive_url":"https://api.github.com/repos/tulibraries/tul_cob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tulibraries/tul_cob/downloads","issues_url":"https://api.github.com/repos/tulibraries/tul_cob/issues{/number}","pulls_url":"https://api.github.com/repos/tulibraries/tul_cob/pulls{/number}","milestones_url":"https://api.github.com/repos/tulibraries/tul_cob/milestones{/number}","notifications_url":"https://api.github.com/repos/tulibraries/tul_cob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tulibraries/tul_cob/labels{/name}","releases_url":"https://api.github.com/repos/tulibraries/tul_cob/releases{/id}","deployments_url":"https://api.github.com/repos/tulibraries/tul_cob/deployments","created_at":"2016-11-16T20:14:21Z","updated_at":"2018-11-15T15:25:16Z","pushed_at":"2018-11-19T13:57:10Z","git_url":"git://github.com/tulibraries/tul_cob.git","ssh_url":"git@github.com:tulibraries/tul_cob.git","clone_url":"https://github.com/tulibraries/tul_cob.git","svn_url":"https://github.com/tulibraries/tul_cob","homepage":null,"size":26233,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":5,"watchers":5,"default_branch":"master"}},"base":{"label":"tulibraries:rc-v0.5.0","ref":"rc-v0.5.0","sha":"3641c06e9604cb6681769ffb18e690f300c7094e","user":{"login":"tulibraries","id":7795826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTU4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/7795826?v=4","gravatar_id":"","url":"https://api.github.com/users/tulibraries","html_url":"https://github.com/tulibraries","followers_url":"https://api.github.com/users/tulibraries/followers","following_url":"https://api.github.com/users/tulibraries/following{/other_user}","gists_url":"https://api.github.com/users/tulibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/tulibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulibraries/subscriptions","organizations_url":"https://api.github.com/users/tulibraries/orgs","repos_url":"https://api.github.com/users/tulibraries/repos","events_url":"https://api.github.com/users/tulibraries/events{/privacy}","received_events_url":"https://api.github.com/users/tulibraries/received_events","type":"Organization","site_admin":false},"repo":{"id":73957201,"node_id":"MDEwOlJlcG9zaXRvcnk3Mzk1NzIwMQ==","name":"tul_cob","full_name":"tulibraries/tul_cob","private":false,"owner":{"login":"tulibraries","id":7795826,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3OTU4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/7795826?v=4","gravatar_id":"","url":"https://api.github.com/users/tulibraries","html_url":"https://github.com/tulibraries","followers_url":"https://api.github.com/users/tulibraries/followers","following_url":"https://api.github.com/users/tulibraries/following{/other_user}","gists_url":"https://api.github.com/users/tulibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/tulibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tulibraries/subscriptions","organizations_url":"https://api.github.com/users/tulibraries/orgs","repos_url":"https://api.github.com/users/tulibraries/repos","events_url":"https://api.github.com/users/tulibraries/events{/privacy}","received_events_url":"https://api.github.com/users/tulibraries/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tulibraries/tul_cob","description":"Catalogue on Blacklight","fork":false,"url":"https://api.github.com/repos/tulibraries/tul_cob","forks_url":"https://api.github.com/repos/tulibraries/tul_cob/forks","keys_url":"https://api.github.com/repos/tulibraries/tul_cob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tulibraries/tul_cob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tulibraries/tul_cob/teams","hooks_url":"https://api.github.com/repos/tulibraries/tul_cob/hooks","issue_events_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/events{/number}","events_url":"https://api.github.com/repos/tulibraries/tul_cob/events","assignees_url":"https://api.github.com/repos/tulibraries/tul_cob/assignees{/user}","branches_url":"https://api.github.com/repos/tulibraries/tul_cob/branches{/branch}","tags_url":"https://api.github.com/repos/tulibraries/tul_cob/tags","blobs_url":"https://api.github.com/repos/tulibraries/tul_cob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tulibraries/tul_cob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tulibraries/tul_cob/git/refs{/sha}","trees_url":"https://api.github.com/repos/tulibraries/tul_cob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tulibraries/tul_cob/statuses/{sha}","languages_url":"https://api.github.com/repos/tulibraries/tul_cob/languages","stargazers_url":"https://api.github.com/repos/tulibraries/tul_cob/stargazers","contributors_url":"https://api.github.com/repos/tulibraries/tul_cob/contributors","subscribers_url":"https://api.github.com/repos/tulibraries/tul_cob/subscribers","subscription_url":"https://api.github.com/repos/tulibraries/tul_cob/subscription","commits_url":"https://api.github.com/repos/tulibraries/tul_cob/commits{/sha}","git_commits_url":"https://api.github.com/repos/tulibraries/tul_cob/git/commits{/sha}","comments_url":"https://api.github.com/repos/tulibraries/tul_cob/comments{/number}","issue_comment_url":"https://api.github.com/repos/tulibraries/tul_cob/issues/comments{/number}","contents_url":"https://api.github.com/repos/tulibraries/tul_cob/contents/{+path}","compare_url":"https://api.github.com/repos/tulibraries/tul_cob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tulibraries/tul_cob/merges","archive_url":"https://api.github.com/repos/tulibraries/tul_cob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tulibraries/tul_cob/downloads","issues_url":"https://api.github.com/repos/tulibraries/tul_cob/issues{/number}","pulls_url":"https://api.github.com/repos/tulibraries/tul_cob/pulls{/number}","milestones_url":"https://api.github.com/repos/tulibraries/tul_cob/milestones{/number}","notifications_url":"https://api.github.com/repos/tulibraries/tul_cob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tulibraries/tul_cob/labels{/name}","releases_url":"https://api.github.com/repos/tulibraries/tul_cob/releases{/id}","deployments_url":"https://api.github.com/repos/tulibraries/tul_cob/deployments","created_at":"2016-11-16T20:14:21Z","updated_at":"2018-11-15T15:25:16Z","pushed_at":"2018-11-19T13:57:10Z","git_url":"git://github.com/tulibraries/tul_cob.git","ssh_url":"git@github.com:tulibraries/tul_cob.git","clone_url":"https://github.com/tulibraries/tul_cob.git","svn_url":"https://github.com/tulibraries/tul_cob","homepage":null,"size":26233,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816"},"html":{"href":"https://github.com/tulibraries/tul_cob/pull/816"},"issue":{"href":"https://api.github.com/repos/tulibraries/tul_cob/issues/816"},"comments":{"href":"https://api.github.com/repos/tulibraries/tul_cob/issues/816/comments"},"review_comments":{"href":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816/comments"},"review_comment":{"href":"https://api.github.com/repos/tulibraries/tul_cob/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tulibraries/tul_cob/pulls/816/commits"},"statuses":{"href":"https://api.github.com/repos/tulibraries/tul_cob/statuses/7157ce0d69640fa5e98b5799465c32b0d38de1ba"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":7,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"dkinzer"}}