Feature #7230

Support separate display labels for directories created in SIP arrange

Added by Misty De Meo about 7 years ago. Updated over 4 years ago.

Status:NewStart date:09/10/2014
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:SIP Arrange
Target version:-
Google Code Legacy ID: Pull Request:
Sponsored:No Requires documentation:

Description

The SIP arrange feature currently doesn't intentionally apply any limits to directory names that it creates. The user can enter any characters, including normally-restricted characters like spaces and non-ASCII characters (accented characters, non-Roman characters). Unlike with the transfer phase, there's no sanitization phase, so processing will try to continue with these directory names; this caused #7150 in the past.

This is seen as a good thing with the arranged structMap feature, since the labels of directories map directly to information objects in AtoM. Since we can't necessarily allow arbitrary characters in file or directory names though, a good solution would be to be able to give directories two names: the name on disk (which would be from a restricted character set) and a display label (which could contain anything). If the display label is specified, then it's included as the label in the structMap instead of the label on disk.

A similar feature is already supported for files that exist during the transfer. A "file_labels.csv" file can be attached to the transfer in order to specify labels that should be used for files in the METS's structMap in place of their filenames.

The file_labels.csv populates the "label" column in the Files table, and createMETS2 uses that as the label instead of the file name if it's set. (By default, that column is NULL.) We could do something similar with SIP arrange directories, without requiring a file_labels CSV as in the transfer.

This feature should be optional, and the user should be able to enter only a directory name if they don't want a separate label.

History

#1 Updated by Sarah Romkey about 7 years ago

Great idea Misty! I'm guessing there is a technical reason why adding a sanitize task instead would be less ideal?

#2 Updated by Misty De Meo about 7 years ago

If we just added a sanitize task, it would change the names that would be displayed in the div tags. Since that's what we're trying to avoid, it wouldn't be very helpful!

#3 Updated by Sarah Romkey about 7 years ago

Oh, I see. Thanks Misty!

#4 Updated by Courtney Mumma about 7 years ago

  • Assignee set to Holly Becker

#5 Updated by Sarah Romkey about 7 years ago

  • Target version changed from Release 1.3.0 to Release 1.4.0

#6 Updated by Justin Simpson over 6 years ago

  • Target version deleted (Release 1.4.0)

#7 Updated by Nick Wilkinson over 4 years ago

  • Assignee deleted (Holly Becker)

Also available in: Atom PDF