Skip to content

Adding New Files To Works With Files Through Bulkrax Causes Issues With Existing Filesets and Display in Viewer #3684

Description

@KevinJonesMeta

Descriptive summary

When using a Bulkrax importer to add new files to Works that already have files, the new files are added, but the existing filesets on the work are declared to be removed and the Removed page icon and thumbnail appears in the Universal Viewer. The existing file continues to display in the UV as well.

Example importer on Staging: https://staging.oregondigital.org/importers/280
Example affected work on Staging: https://staging.oregondigital.org/concern/documents/0r9673755

A small number of affected works are on Production but are actively being fixed by Ryan Wick.

Steps To Reproduce:

  1. Export set of existing works from Oregon Digital via Bulkrax.
  2. Remove unneeded existing metadata from exporter csv.
  3. Add new filenames to files column in csv.
  4. Zip edited csv and new files per standard Bulkrax importer procedure.
  5. Create and run importer with created zip of csv and files.
  6. Removed icons and thumbnails show up in Works and Files section and UV; new fileset is added to work.

Expected behavior

New files can be added through Bulkrax to existing works that already have one or more files without impacting the files already present on a work.

Related work

Link to related tickets or prior related work here.

Accessibility Concerns

Adding files to works with existing files will be an increasingly common procedure as more accessible versions of files are created for inclusion in Oregon Digital. These can be added to existing works through the form without issue (so far) but is potentially more efficient through Bulkrax if this issue is resolved.

Metadata

Metadata

Assignees

Labels

BugContent OpsIssues related to import, export, bulkrax, and content processing.FeaturesIssues related to building and enhancing featuresPriority - HighIssues that should be prioritized ahead of others - early timing in the projectProd + StagingUXbulkrax

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions