[Archivesspace_Users_Group] Import error -- "Not a valid date"

Nathan Stevens ns96 at nyu.edu
Fri Apr 25 14:47:14 EDT 2014


Hi Cory,

let me try and modify the migration plugin to ignore the dates that don't
fit the ISO formats of either yyyy, yyyy-mm, or yyyy-mm-dd. A message will
be placed in log with information to find component in the AT where the
date is.  For the end date before begin error I will try and do the same.
Those changes should be in the next release of the plugin.

In the mean time send me a new copy of your database so I can test on my
end.
On Apr 24, 2014 4:49 PM, "Cory Nimer" <cory_nimer at byu.edu> wrote:

>  We are working on cleaning up our data and have found a few stubborn
> finding aids that won't import from the AT. The ArchivesSpace import error
> report gives us the following:
>
>
>
> Endpoint: http://54.80.123.196:8089/repositories/7/batch_imports
>
> AT Identifier: MSS 3235
>
> Status code: 200
>
> Status text: OK
>
>
>
> {
>
>   "errors": ["Server error: #<:ValidationException:
> {:errors=>{\"dates/0/begin\"=>[\"not a valid date\"],
> \"dates/0/end\"=>[\"not a valid date\"]}}>"],
>
>   "saved": []
>
> }
>
>
>
> However, going through the EAD output from the Archivists Toolkit we don't
> get an error through schema validation, and a visual review of the EAD file
> has not shown any problems. Does anyone know what type of error this
> message is referring to, and is there any chance that the import process
> could be more descriptive in giving a line number with the output?
>
>
>
> I have attached the EAD file for reference.
>
>
>
> Thanks,
>
>
>
> Cory Nimer
>
> Manuscripts Cataloger/Metadata Specialist
>
> Brigham Young University
>
> 1108 HBLL
>
> (801) 422-6091
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140425/bcd2a7e1/attachment.html>


More information about the Archivesspace_Users_Group mailing list