Skip to content

Instantly share code, notes, and snippets.

@escowles
Created December 19, 2016 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save escowles/50eaf62b45e3de313622dcef705496bf to your computer and use it in GitHub Desktop.
Save escowles/50eaf62b45e3de313622dcef705496bf to your computer and use it in GitHub Desktop.
ActiveFedora Test Failures with Fedora 4.7.1-RC-1
Failures:
1) ActiveFedora::Base#exists? returns false for ids that don't exist
Failure/Error: super
Ldp::BadRequest:
Prefix test has not been registered
# ./lib/active_fedora/caching_connection.rb:13:in `get'
# ./lib/active_fedora/initializing_connection.rb:22:in `head'
# ./lib/active_fedora/relation/finder_methods.rb:194:in `load_from_fedora'
# ./lib/active_fedora/relation/finder_methods.rb:181:in `find_one'
# ./lib/active_fedora/relation/finder_methods.rb:228:in `find_with_ids'
# ./lib/active_fedora/relation/finder_methods.rb:52:in `find'
# ./lib/active_fedora/relation/finder_methods.rb:85:in `exists?'
# ./lib/active_fedora/querying.rb:3:in `exists?'
# ./spec/integration/base_spec.rb:133:in `block (3 levels) in <top (required)>'
2) ActiveFedora::Base#load_from_fedora casts when klass == ActiveFedora::Base and cast argument is nil
Got 0 failures and 2 other errors:
2.1) Failure/Error: super
Ldp::BadRequest:
Prefix test has not been registered
# ./lib/active_fedora/caching_connection.rb:13:in `get'
# ./lib/active_fedora/initializing_connection.rb:22:in `head'
# ./lib/active_fedora/core.rb:35:in `initialize'
# ./lib/active_fedora/persistence.rb:122:in `new'
# ./lib/active_fedora/persistence.rb:122:in `create'
# ./spec/unit/query_spec.rb:301:in `block (3 levels) in <top (required)>'
2.2) Failure/Error: after { @obj.destroy }
NoMethodError:
undefined method `destroy' for nil:NilClass
# ./spec/unit/query_spec.rb:302:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment