[Archivesspace_Users_Group] EAD import problem id_0 already in use

Bridger Dyson-Smith bdysonsm at utk.edu
Fri May 16 15:17:45 EDT 2014


On 05/16/2014 11:19, Kottman, Miloche wrote:
> How fortuitous!  I was just going to test to see if this was still an issue in version 1.0.9.
>
Oh dear...

> In version 1.0.7, that message showed up when the EAD had a related or separated materials section AND you'd already loaded the EAD for the related or separated material.
>
> This happens because instead of using the <unittitle> and <unitid> for the described materials, the importer is using the last <unittitle> <unitid> combination it finds in either the related or separated material section (we have EADs listing multiple related materials and I've noticed it selects the last title).  This title and id is, of course, going to match the title and id in the related or separated EAD.
>
That's odd, because the <unittitle> and <unitid> in the EAD that threw 
the error only appear in two EADs: in the error-throwing EAD and in 
another that wasn't in my test batch. I've just checked a couple of 
other EADs that use <relatedmaterial> and we aren't using 
<unittitle>/<unitid> in that element.

I don't doubt you - I don't know enough Ruby (or enough about 
ArchivesSpace) to get what's going on with the import feature.

I do think it's a bit odd, though. Is there a published rational for 
that behavior? I'd like to know more.

> Even if you don't get this message when loading an EAD, if it has a related or separated materials section, you should check the EAD in ArchivesSpace to ensure the correct title and id are in the record (it's likely to be one of the titles in the related/separated section)
>
> And FYI...  just tested in version 1.0.9 and it still errors out, but I get a different error message:  Error: #<:ValidationException: {:errors=>{"extents"=>["At least 1 item(s) is required"]}}>
>
> --Miloche
>
> -----Original Message-----
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Bridger Dyson-Smith
> Sent: Friday, May 16, 2014 9:39 AM
> To: Archivesspace Users Group
> Subject: [Archivesspace_Users_Group] EAD import problem id_0 already in use
>
> Hi all,
>
> I'm getting the following error from a test import of ~100 EADs:
> "Error: Problem creating 'University of Tennessee President's Papers':
> id_0 That ID is already in use, ead_id Must be unique"
>
> My <eadid> values are unique across our collections, so I'm not sure how/why this is happening. Could someone shed some light on this?
>
>
> Thanks,
> Bridger
> --
> Bridger Dyson-Smith
> University of Tennessee Libraries
> Digital Initiatives
> _______________________________________________

Thank you for the response.

Best,
Bridger




More information about the Archivesspace_Users_Group mailing list