hyrax
hyrax copied to clipboard
Double-combo work does not migrate all derivatives
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 https://github.com/samvera/hyrax/pull/6221