samvera-deprecated / sufia

[DEPRECATED] Sufia: a fully featured, flexible Samvera repository front-end.
http://sufia.io/
Other
111 stars 78 forks source link

Unable to find reflection error #2053

Closed jcoyne closed 8 years ago

jcoyne commented 8 years ago
I, [2016-05-19T04:10:11.048002 #18381]  INFO -- : method=GET path=/concern/generic_works/g445cd121 format=html controller=curation_concerns/generic_works action=show status=500 error='ActionView::Template::Error: Unable to find reflection for http://pcdm.org/models#hasFile in FileSet' duration=185.35 view=0.00 db=10.39 request_id=5a171825-d88d-483c-8418-00b78424c391 user_id=1 account_id=sprint-9.demo.hydrainabox.org params={"id"=>"g445cd121"}
F, [2016-05-19T04:10:11.049234 #18381] FATAL -- : 
ActionView::Template::Error (Unable to find reflection for http://pcdm.org/models#hasFile in FileSet):
    1: <% if presenter.representative_id.present? && (fs = ::FileSet.load_instance_from_solr(presenter.representative_id)) %>
    2:   <%= media_display fs %>
    3:   
    4:   <% # TODO: this is just for a demo. It's a slow find from Fedora %>
    5:   <% if fs.image? %>
  app/views/curation_concerns/base/_representative_media.html.erb:2:in `_app_views_curation_concerns_base__representative_media_html_erb___2581363926034821739_47296951630840'
jcoyne commented 8 years ago

Hybox error, not a sufia error.