-
Notifications
You must be signed in to change notification settings - Fork 124
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
WINGS: FileMetadata and versioning #3923
Comments
…xt, thumbnail 2 changes here… ### Parts of FileSet AF behavior #original_file, #extracted_text, and #thumbnail each return a single PCDM::File, So this now has the methods that get these relatiionships from FileMetadata to return `.first` ### Versioning Versioning was looking through to ActiveFedora through the original_file method defined in wings/hydra/pcdm/pcdm_valkyrization_behavior. Since that was method was removed with the addition of Hyrax::FileSet#original_file, it was no longer getting the lookthrough behavior. The tests related to versioning have been marked pending. Issue #3923 addresses FileMetadata and versioning.
@rjkati is file versioning in the Hyrax QA script? i'm wondering whether there's prior work here, or why it hasn't been flagged as a release blocker so far. |
@no-reply file versioning is included in the QA script. To pass, users need to be able to upload a new version and restore a prior version. I suspect that file versioning had not yet been tested, since filesets were not working properly until very recently. |
Descriptive summary
The move to support valkyrie as the backend for Hyrax requires some reworking of the versioning for files.
Know places that need to be addressed
Other places may also need to be changed. But the following are known changes that are required.
Hyrax::FileMetadata resource (under app/models)
attribute :version_ids, ::Valkyrie::Types::Set
)Hyrax::VersioningService
Wings::FileMetadataBuilder service (under lib/wings/services)
The text was updated successfully, but these errors were encountered: