Feature #8758

Add setting to automatically strip filename from information objects generated during DIP upload

Added by Dan Gillean almost 7 years ago. Updated almost 6 years ago.

Status:VerifiedStart date:07/30/2015
Priority:MediumDue date:
Assignee:Mike Cantelon% Done:

0%

Category:Archivematica integration
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:2.3
Sponsored:Yes Requires documentation:

Description

This feature will add a new section to the Admin > Settings page: DIP upload (as we expect that in the future, there may be more settings added here).

In the DIP upload section of the settings, we are adding a setting that will allow administrators to determine if file extensions will be stripped from the automated information object names created when DIP objects are uploaded into AtoM (as there is a 1:1 relationship between a digital object and an information object in AtoM, and a new information object is created for each digital object uploaded as part of the DIP upload).

This setting will use regex to strip file extensions from the automated names given to corresponding information objects during upload (e.g. .jpg, .pdf, etc). Ideally, the regex should look for whitespace at the end, so it will not strip out elements of a filename that might use periods (e.g. "my.Movie.File.mp4" should just become "my.Movie.File").

The setting will NOT retroactively affect existing uploads/information objects, only new information objects created during the DIP upload process from Archivematica. As the manual digital object upload options allow the user to set the information object names during upload, it should not need to affect any of these either - just DIP upload. Something like this:

Strip file extensions from information object names generated during DIP upload: [ X ] Yes  [   ] No

Note as well that the uploaded file itself is NOT affected (the extension is not stripped from the digital object) - it is only the generated information object (e.g. description) in AtoM.


Related issues

Related to Access to Memory (AtoM) - Bug #10023: Automatically strip filename from information objects gen... Duplicate 06/14/2016

History

#2 Updated by Dan Gillean almost 7 years ago

  • Requires documentation set to Yes
  • Tested version 2.3 added

#3 Updated by Dan Gillean over 6 years ago

  • Requires documentation deleted (Yes)

#4 Updated by Dan Gillean about 6 years ago

  • Target version deleted (Release 2.3.0)

#5 Updated by Dan Gillean about 6 years ago

  • Status changed from New to QA/Review
  • Assignee changed from Mike Cantelon to Sara Allain
  • Target version set to Release 2.3.0

#6 Updated by Sara Allain almost 6 years ago

  • Status changed from QA/Review to Verified

Looks good!

#7 Updated by Sara Allain almost 6 years ago

  • Status changed from Verified to Feedback
  • Assignee changed from Sara Allain to Mike Cantelon

The feature works for straight DIP uploads, but not for DIP uploads that have been assigned levels of description in Archivematica. For an example, see: https://atom-qa-23x.artefactual.com/8758-test-w-hierarchy

#8 Updated by Sara Allain almost 6 years ago

  • Status changed from Feedback to Verified

Feature works as specified by the sponsor.

#9 Updated by Sara Allain almost 6 years ago

  • Related to Bug #10023: Automatically strip filename from information objects generated during hierarchical DIP upload added

Also available in: Atom PDF