Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing rdf_subject when loading from solr #542

Closed
jcoyne opened this issue Nov 3, 2014 · 0 comments
Closed

Missing rdf_subject when loading from solr #542

jcoyne opened this issue Nov 3, 2014 · 0 comments
Assignees
Milestone

Comments

@jcoyne
Copy link
Member

jcoyne commented Nov 3, 2014

       undefined method `rdf_subject' for #<ActiveFedora::LoadableFromJson::SolrBackedResource:0x007f8375cd79e0>
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/fedora_attributes.rb:9:in `rdf_subject'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/rdf.rb:48:in `rdf_query'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/rdf.rb:43:in `rdf_uris'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/rdf.rb:30:in `filtered_results'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/rdf.rb:20:in `destroy'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/rdf.rb:7:in `replace'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/singular_rdf.rb:6:in `replace'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/singular_association.rb:18:in `writer'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/associations/builder/association.rb:59:in `block in define_writers'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/attributes.rb:19:in `block in attributes='
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/attributes.rb:18:in `each'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/attributes.rb:18:in `attributes='
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/attributes/serializers.rb:26:in `attributes='
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/loadable_from_json.rb:55:in `init_with_json'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/solr_instance_loader.rb:29:in `allocate_object'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/solr_instance_loader.rb:21:in `object'
     # /Users/justin/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/gems/active_fedora-c37f219943b0/lib/active_fedora/indexing.rb:86:in `load_instance_from_solr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant