-
Notifications
You must be signed in to change notification settings - Fork 5
Description
First priority
Add option to view the list of failures (expandable list or modal) from the bulk action history page. The Preassembly discovery report UI does this:
The Argo MODS upload to APO UI does too:
List of failures should include druid, action being performed, and error message.
Second priority
Add option to download log as CSV for easier filtering (Argo MODS upload to APO does this, but the need for it is less if you can view errors in-browser). CSV columns would probably include timestamp, druid, action, action status, and error message (if any).
Note: error messages from bulk actions are sometimes quite long (making the UI design challenging). This is an error message from when a tag import CSV contained the value "Druid" where the system was expecting "druid:[druid]":
2025-08-15 21:54:51 UTC ImportTagsJob: Unexpected error importing tags for Druid (bulk_action.id=35231): (#/components/schemas/Druid pattern ^druid:[b-df-hjkmnp-tv-z]{2}[0-9]{3}[b-df-hjkmnp-tv-z]{2}[0-9]{4}$ does not match value: "Druid", example: druid:bc123df4567)
For display in the UI and/or CSV download, it would be nice to pare all of that down.