{"action":"created","issue":{"url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1181","labels_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1181/comments","events_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1181/events","html_url":"https://github.com/projectblacklight/blacklight/issues/1181","id":66628082,"number":1181,"title":"Blacklight 5.8, blacklight-marc, librarian view","user":{"login":"jrochkind","id":149304,"avatar_url":"https://avatars.githubusercontent.com/u/149304?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochkind","html_url":"https://github.com/jrochkind","followers_url":"https://api.github.com/users/jrochkind/followers","following_url":"https://api.github.com/users/jrochkind/following{/other_user}","gists_url":"https://api.github.com/users/jrochkind/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochkind/subscriptions","organizations_url":"https://api.github.com/users/jrochkind/orgs","repos_url":"https://api.github.com/users/jrochkind/repos","events_url":"https://api.github.com/users/jrochkind/events{/privacy}","received_events_url":"https://api.github.com/users/jrochkind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-06T15:20:53Z","updated_at":"2015-04-06T15:31:36Z","closed_at":null,"body":"Hi, I'm trying to update my app to Blacklight 5.8.2, on the way to Blacklight 5.9, and probably eventually further, but one step at a time -- trying to get things working one version at a time, before dealing with the new SearchHelper deprecation stuff in BL 5.10. \r\n\r\nIn my BL 5.8 app, I am having trouble with the MARC \"librarian view\", it's reporting \"No MARC data found\", instead of displaying MARC. It worked fine in BL 5.7. \r\n\r\nTrying to debug, I'm getting a bit confused. \r\n\r\nI am using blacklight-marc 5.5.0 -- the gemspec for blacklight-marc 5.5.0 expresses a dependency on `\"blacklight\", \"~> 5.8\"`, whereas the next more recent blacklight-marc 5.10.0 says `\"blacklight\", \"~> 5.10\"`.  So I think blacklight-marc 5.5.0 is the right one to use with BL 5.8?   \r\n\r\nTrying to debug, I see that blacklight-marc 5.5.0 defines a [librarian_view method in Blacklight::Marc::Catalog].  However, if I try to make sure the actual CatalogController#librarian_view method is coming from there in my app, by doing `CatalogController.new.method(:librarian_view).source_location`, I get:\r\n\r\n    [\"/Users/jrochkind/.gem/ruby/1.9.3/gems/blacklight-5.8.2/lib/blacklight/catalog/component_configuration.rb\", 38]\r\n\r\nWhen I look at the [ComponentConfiguration class in Blacklight 5.8.2](https://github.com/projectblacklight/blacklight/blob/v5.8.2/lib/blacklight/catalog/component_configuration.rb), I'm pretty confused at what's going on, and if this is really adding a `librarian_view` method or what, it's doing something very abstract/indirect. \r\n\r\nIf I put a debugger line at the `blacklight_marc` gem's definition of `librarian_view`, it never gets tripped -- so I think the app is getting a `librarian_view` definition from blacklight rather than blacklight_marc. \r\n\r\nBut I'm having trouble actually figuring out what it's doing in order to debug it and figure out why I'm getting \"No MARC data found\" instead of the MARC display. \r\n\r\nCan anyone give me some hints as to what's going on here, how I can debug, or what might be going wrong in my app? "},"comment":{"url":"https://api.github.com/repos/projectblacklight/blacklight/issues/comments/90107432","html_url":"https://github.com/projectblacklight/blacklight/issues/1181#issuecomment-90107432","issue_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1181","id":90107432,"user":{"login":"cbeer","id":111218,"avatar_url":"https://avatars.githubusercontent.com/u/111218?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeer","html_url":"https://github.com/cbeer","followers_url":"https://api.github.com/users/cbeer/followers","following_url":"https://api.github.com/users/cbeer/following{/other_user}","gists_url":"https://api.github.com/users/cbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeer/subscriptions","organizations_url":"https://api.github.com/users/cbeer/orgs","repos_url":"https://api.github.com/users/cbeer/repos","events_url":"https://api.github.com/users/cbeer/events{/privacy}","received_events_url":"https://api.github.com/users/cbeer/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T15:31:36Z","updated_at":"2015-04-06T15:31:36Z","body":"Your analysis seems sound, but I think to help, we'd have to see, say, your `CatalogController`, `SolrDocument`, and anything else you think might be helpful.\r\n\r\nI will note that the demo.projectblacklight.org site is working fine (http://demo.projectblacklight.org/catalog/2008323726/librarian_view) using an out of the box configuration: https://github.com/projectblacklight/demo.projectblacklight.org\r\n\r\n"}}