[Archivesspace_Users_Group] Event Outcome Problems

Jenn Colt jrc88 at cornell.edu
Thu Sep 27 09:49:54 EDT 2018


I'm seeing this as well when I make a new event but leave the outcome blank.

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of James R Griffin III <jrg5 at princeton.edu>
Sent: Tuesday, September 25, 2018 2:36:25 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Event Outcome Problems


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/20180927/9180ffe4/attachment.html>


More information about the Archivesspace_Users_Group mailing list