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

Double-combo work does not migrate all derivatives #6791

Closed
1 task
laritakr opened this issue Apr 25, 2024 · 0 comments
Closed
1 task

Double-combo work does not migrate all derivatives #6791

laritakr opened this issue Apr 25, 2024 · 0 comments

Comments

@laritakr
Copy link
Contributor

laritakr commented Apr 25, 2024

Descriptive summary

Active Fedora derivatives are stored in a directory. In Valkyrie, these need to be migrated into Hyrax::FileMetadata objects as part of the "lazy migration".

The code that persists derivatives is https://github.com/samvera/hyrax/blob/double_combo/app/services/hyrax/valkyrie_persist_derivatives.rb#L19-L36

Acceptance Criteria/Expected Behavior

  • Saving an ActiveFedora object using the lazy migration will migrate derivative files into Valkyrized Hyrax::FileMetadata objects

Related work

See https://github.com/samvera/hyrax/blob/double_combo/lib/freyja/resource_factory.rb#L68-L69

Ref double_combo pull request #6221

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