Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

ActiveFedora::ModelMismatch error prevents ingest of ETDs #7

Open
kerchner opened this issue May 17, 2023 · 1 comment
Open

ActiveFedora::ModelMismatch error prevents ingest of ETDs #7

kerchner opened this issue May 17, 2023 · 1 comment
Assignees
Labels

Comments

@kerchner
Copy link
Member

Stack trace:

ActiveFedora::ModelMismatch: Expected GwEtd. Got: FileSet
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/relation/finder_methods.rb:198:in `class_to_load'
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/relation/finder_methods.rb:185:in `load_from_fedora'
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/relation/finder_methods.rb:171:in `find_one'
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/relation/finder_methods.rb:218:in `find_with_ids'
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/relation/finder_methods.rb:48:in `find'
/opt/scholarspace/scholarspace-hyrax/vendor/bundle/ruby/2.7.0/gems/active-fedora-12.2.3/lib/active_fedora/querying.rb:3:in `find'
/opt/scholarspace/scholarspace-hyrax/lib/tasks/gwss.rake:135:in `block (2 levels) in <top (required)>'
@kerchner kerchner added the bug label May 17, 2023
@kerchner kerchner self-assigned this May 17, 2023
@kerchner
Copy link
Member Author

It looks like the minter on the test server is issuing NoIDs that were already issued, hence conflicts like those seen in the stack trace.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant