Feature #13395

Include digital objects in clipboard exports

Added by José Raddaoui Marín almost 2 years ago. Updated 8 months ago.

Status:VerifiedStart date:07/25/2020
Priority:MediumDue date:
Assignee:-% Done:

100%

Category:Clipboard
Target version:Release 2.7.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:

Description

AtoM’s current limitation of forcing the user to download digital objects one by one from individual archival description view pages means that users have to work harder to gather resources from AtoM and may inadvertently miss downloading relevant content.

SOLUTION: The proposed enhancement is to add a checkbox to the clipboard exports page that allows users to download any digital objects that may be attached to their saved search and browse results. When users check the checkbox, the digital objects are packaged into a zip file and downloaded to the user’s computer. The zip file will also contain the archival descriptions and related metadata as a csv or xml file. The download will be handled by AtoM’s asynchronous job manager, to allow users to download content without impacting the performance of the AtoM site.

Scenario: A user is able to include digital objects in exports from AtoM’s clipboard

Given: Digital objects have been uploaded to an AtoM site
And: A user with administrative privileges has set “Enable digital object export from clipboard” to “Yes”
And: A user with permission to access master versions of uploaded digital objects has saved search and/or browse results to the clipboard
When: The user clicks the “Export” button on the clipboard page
Then: The Export options page includes a checkbox for “Include digital objects”
And: The user is able to check the checkbox for “Include digital objects”
When: The user clicks the “Export” button on the Export options page
Then: The user should see a notification that export has been initiated, with a link to update the job status

Given: The user is on the “Export Clipboard” page
And: A clipboard export generated by the user has completed successfully
And: The clipboard export includes descriptions with digital objects
When: The user clicks on the export “Download” link
Then: A zipped package is downloaded which includes a csv or xml file containing the metadata and copies of the digital objects

Given: The user is authorized to view the “Manage Jobs” page
And: An clipboard export job generated by the user has completed successfully
And: The clipboard export includes descriptions with digital objects
When: The user clicks on the export job “Download” link
Then: A zipped package is downloaded which includes a csv or xml file containing the metadata and copies of the digital objects

Capture (11).PNG (40.5 KB) Evelyn McLellan, 07/29/2020 07:31 PM


Related issues

Related to Access to Memory (AtoM) - Bug #13399: Copyright pop-up cannot be disabled Verified 07/29/2020
Related to Access to Memory (AtoM) - Bug #13437: Problem: Digital object authorization code is too complic... QA/Review 11/06/2020

History

#1 Updated by José Raddaoui Marín almost 2 years ago

  • Status changed from New to Code Review
  • Assignee set to José Raddaoui Marín

#2 Updated by José Raddaoui Marín almost 2 years ago

  • Status changed from Code Review to QA/Review
  • Assignee deleted (José Raddaoui Marín)

Merged in qa/2.x.

#3 Updated by Dan Gillean almost 2 years ago

  • Related to Bug #13399: Copyright pop-up cannot be disabled added

#4 Updated by Evelyn McLellan almost 2 years ago

An issue I have noticed with this feature is that the authority records export page has the option of including or excluding draft authority records. See attached screenshot. This option, along with the explanatory text, should be removed since authority records don't have a publication status.

#5 Updated by José Raddaoui Marín almost 2 years ago

  • Status changed from QA/Review to Code Review

PR addressing Evelyn's feedback: https://github.com/artefactual/atom/pull/1170

#6 Updated by José Raddaoui Marín almost 2 years ago

  • Status changed from Code Review to QA/Review

Merged in qa/2.x

#7 Updated by David Juhasz almost 2 years ago

When exporting clipboard item metadata as a CSV file the digitalObjectUri and digitalObjectChecksum columns are always blank, even if the exported items have attached digital objects. The digital object metatadata is missing for both archival description and authority record clipboard exports.

Expected behaviour is for the digitalObjectUri and digitalObjectChecksum columns to be populated when a digital object is attached to the represented resource.

#8 Updated by David Juhasz over 1 year ago

I found a new bug: the clipboard export is exporting descendant records multiple times, e.g. an export of one Collection with 14 descendants exported a CSV file with 85 rows.

#9 Updated by David Juhasz over 1 year ago

David Juhasz wrote:

I found a new bug: the clipboard export is exporting descendant records multiple times, e.g. an export of one Collection with 14 descendants exported a CSV file with 85 rows.

The duplicate row export was fixed with https://github.com/artefactual/atom/commit/e8ae23f44987ece3ceb995c3db3701ecf83881d9

#10 Updated by David Juhasz over 1 year ago

  • Related to Bug #13437: Problem: Digital object authorization code is too complicated added

#11 Updated by David Juhasz over 1 year ago

David Juhasz wrote:

When exporting clipboard item metadata as a CSV file the digitalObjectUri and digitalObjectChecksum columns are always blank, even if the exported items have attached digital objects. The digital object metatadata is missing for both archival description and authority record clipboard exports.

Expected behaviour is for the digitalObjectUri and digitalObjectChecksum columns to be populated when a digital object is attached to the represented resource.

I've created a pull request to restore the digital object URI and checksum column data, based on the user's permissions: https://github.com/artefactual/atom/pull/1217

#12 Updated by David Juhasz over 1 year ago

I've merged https://github.com/artefactual/atom/commit/660a5c99c38e7712c8e4bfc2d914d8e39b4f60b0 which fixes the missing digital object URI and checksum export data.

#13 Updated by Dan Gillean about 1 year ago

  • Status changed from QA/Review to Verified
  • Requires documentation set to Yes

Also available in: Atom PDF