DSpace / dspace-angular

DSpace User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC8x/
BSD 3-Clause "New" or "Revised" License
135 stars 437 forks source link

Export search results as CSV from Administer Workflow page does not work. #1982

Open paigecm opened 2 years ago

paigecm commented 2 years ago

Describe the bug The Administer Workflow screen shows workflow items that are in process (for users who are logged in as site administrators). One of the options for this screen is to export results (the list of in-process workflow items) as a CSV. However, the resulting CSV is empty, except for column headings for "id" and "collection." This bug occurs both in local instances of DSpace, and in the demo site, in Firefox, Chrome, and Brave browsers.

To Reproduce Steps to reproduce the behavior:

  1. Log into DSpace as a Site Administrator
  2. Go to the "Administer Workflow" option in the lefthand menu.
  3. Any workflow items that are in process will be visible in a list, with options to filter by Status, Type, Date, and Submitter. The "Export Search Results as CSV" is a button on the righthand side of the screen, under the search menu. Click to begin the Export process.
  4. The process will run smoothly -- but the resulting CSV is only 14b.

Expected behavior The in-process workflow items should be exportable as a populated CSV file. As a site administrator, it would be extremely helpful to be able to generate these sorts of reports in order to keep track of items that have been in process, but have become orphaned (because of personnel changes, missing data, etc.). Being able to export the list of items (along with their metadata) would allow me to determine what should happen with the items, either deleting them (and freeing up space) or having someone else resubmit them correctly.

Related work #1970

tdonohue commented 1 year ago

NOTE: This CSV export feature was removed in #2010 , as it didn't work. So, I'm changing this into a "new feature" request. It's not something we currently support, but I can understand how it would be useful. Also flagged it as needing a volunteer.