[Archivesspace_Users_Group] Event Outcome Problems

James R Griffin III jrg5 at princeton.edu
Tue Sep 25 14:36:25 EDT 2018


Hello Everyone,

Please forgive any misunderstandings on my part, as I'm relatively new to this software and the project.

I'm currently working with an installation of ArchivesSpace which has been updated to 2.5.0, and I've encountered a problem in which Event "Outcome" values can be persisted into the database with NULL foreign keys:

[archivesspace]> select count(e.id<http://e.id/>) from event as e where e.outcome_id IS NULL;
+-------------+
| count(e.id<http://e.id/>) |
+-------------+
|       14324 |
+-------------+

Is this expected? When these are set as NULL, the corresponding enumeration_value cannot be retrieved for translation in the locale, leading to the following errors:

translation missing: enumerations.event_outcome.

...where the tag following enumerations.event_outcome (normally some value like pass or fail, as found in https://github.com/archivesspace/archivesspace/blob/v2.5.0/common/locales/enums/en.yml#L442) is simply blank.

Is this something which others have encountered before? Might this be an issue which must be addressed with database record cleaning for these NULL foreign keys? Thank you for your time and support.

Sincerely,
James Griffin

--
Digital Infrastructure Developer
Princeton University Library<https://library.princeton.edu/>
Princeton, NJ 08544

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180925/1982c566/attachment.html>


More information about the Archivesspace_Users_Group mailing list