Provide specific failure information in import log error messages

Description

I am submitting this on behalf of one of our client archives. The archive is importing EADs into ArchivesSpace. Sometimes, the EADs fail on something; for example, a missing closing tag or required element. The error log is very vague, and the archive has to comb through EAD XML to try to figure out where exactly the error is located in the EAD. In the below example of an error log, a required property is missing in a container. The finding aid described in the EAD is very large and contains hundreds of containers. It would help if the log could pinpoint which container has the issue.

log:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The following errors were found:

     indicator : Property is required but was missing

 

 For JSONModel(:top_container):

 #<JSONModel(:top_container) {"jsonmodel_type"=>"top_container", "active_restrictions"=>[], "container_locations"=>[], "series"=>[], "collection"=>[], "uri"=>"/repositories/import/top_containers/import_605d24a4-b2df-4ad3-a172-1ef3691f5475", "type"=>"box"}>

 

In :

 &lt;container class=&quot;cdata&quot; label=&quot;Box&quot; type=&quot;box&quot;&gt; ... &lt;/container&gt;

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Complexity

None

Activity

Show:

Matt StraussSeptember 6, 2023 at 6:49 PM

During the Dev/Pri meeting on 9/5, we decided to pass this ticket.

Christine Di BellaJune 26, 2023 at 3:08 PM

Details

Assignee

Reporter

Affects versions

Priority

Harvest Time Tracking

Open Harvest Time Tracking

Created May 2, 2023 at 1:44 PM
Updated October 28, 2024 at 8:33 PM
Harvest Time Tracking

Flag notifications