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

Fixes PDF splitting for Valkyrie resources #346

Merged
merged 16 commits into from
May 8, 2024
Merged

Conversation

laritakr
Copy link
Contributor

@laritakr laritakr commented Apr 12, 2024

Story

Refs

To address both Valkyrie and ActiveFedora, a new child_work_indexer module was created. This, and file_set_indexer perform the needed indexing for either Valkyrie or ActiveFedora work types.

A listener triggers the splitting as a new file is attached. Additional work is still needed to make the child works' derivatives functional via #350

Expected Behavior Before Changes

PDFs do not split into child works.

Expected Behavior After Changes

PDFs split into child works and parent & children contain appropriate indexed values.

Screenshots

Screenshot 2024-05-08 at 3 40 47 PM

Screenshot 2024-05-08 at 3 43 23 PM

Notes

kirkkwang and others added 6 commits April 5, 2024 21:29
This commit will move PDF splitting logic to key off of the
`on_file_characterized` event.  Many of the methods have been updated
to work with Valkyrie objects as well.
Universal viewer is still having issues, but that is coming later.
Some of the valkyrization work broke child work & fileset indexing for
ActiveFedora objects.
@laritakr laritakr merged commit cee9752 into main May 8, 2024
9 checks passed
@laritakr laritakr deleted the valkyrie-pdf-split-fix branch May 8, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants