[Archivesspace_Users_Group] EAD Importer and DAOs

Brian Harrington brian.harrington at lyrasis.org
Wed May 23 14:39:02 EDT 2018


Currently when importing an EAD, <dao>s are used to create digital objects.  As part of this process, the @title attribute is used for both the digital object title, and the caption under file versions.  I've recently run into a fun issue with <dao>s with @titles longer than 255 characters.  These titles are OK for digital_object:title, which is VARCHAR(8704) but too long for file_version:caption, which is VARCHAR(255).  So the import fails.

Should this be considered a bug?  If it is, and if one were theoretically considering a PR, would it make more sense to harmonize the length of the title and caption, or truncate the caption to 255 characters?  My inclination is just to increase the maximum length of captions, and rely on people to show restraint, but I know that other people might have different opinions.

Thanks,

Brian 

-- 
Brian Harrington
Migration Specialist
LYRASIS
brian.harrington at lyrasis.org
skype: abbistani




More information about the Archivesspace_Users_Group mailing list