samvera / hyku

Hyku: A multi-tenant Hyrax application built on the latest and greatest Samvera community components. Brought to you by the Hydra-in-a-Box project partners and IMLS; maintained by the Hyku Interest Group.
https://samvera.atlassian.net/wiki/spaces/hyku/overview
Other
96 stars 49 forks source link

Export Not Working #2364

Open christhepianist opened 3 weeks ago

christhepianist commented 3 weeks ago

Descriptive summary

We are running Hyku version 6 with all main commits through https://github.com/samvera/hyku/commit/69b3e600ec874c7b6613e3f9ec173b541a882156.

The export function is not working correctly. I can create an export: export_metadata_csv

Click "Create and Export"

The result is a message stating that the export was created and that the download link would appear. However, below that, the system records it with a "failed" status: export_metadata_csv_result

In looking at the details of the import, the error is provided, as well as the error trace (which continues below the screenshot): export_metadata_csv_error

There is a similar result when exporting metadata and files: export_metadata_files_csv export_metadata_files_csv_result export_metadata_files_csv_error

There is a similar result when exporting using the BagIt parser.

Rationale

This export functionality worked in version 5. It is required for libraries that want to update their metadata using the round-trip method, which is common for those uploading multiple items at one time.

Expected behavior

When choosing the type of export, the system should provide files to be downloaded based on the parameters set.

Actual behavior

The system states that the export has run and that a download file is forthcoming, but it also states that it was a failure and provides information on the error(s).

Steps to reproduce the behavior

  1. Open Exporters in Hyku
  2. Choose "New"
  3. Complete the form
  4. "Create and Export"

Related work

Link to related tickets or prior related work here. Milestone 6.1: https://github.com/samvera/hyku/milestone/12