[Archivesspace_Users_Group] Errors editing older resource records v.2.3.1

Christine Di Bella christine.dibella at lyrasis.org
Wed Apr 18 16:02:35 EDT 2018


Hi Andrew,

Locations can't be deleted if there is a top container attached to them. Is there a top container linked to the location(s) you're trying to delete?

If there is, being prevented from doing this is intended behavior, though the opaque error messaging is not and needs to be fixed.

If there isn't a linked top container, there something else is going on and we could file a support ticket on that for you.

Christine

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Holland, Andrew S
Sent: Wednesday, April 18, 2018 2:36 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Errors editing older resource records v.2.3.1

For what it's worth, I'm seeing something similar when attempting to delete some locations:

Unable to delete locations:
/locations/12 - Record deletion failed: Java::ComMysqlJdbcExceptionsJdbc4::MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`as_2x`.`top_container_housed_at_rlshp`, CONSTRAINT `top_container_housed_at_rlshp_ibfk_2` FOREIGN KEY (`location_id`) REFERENCES `location` (`id`))

and:

translation missing: en.validation_errors.record_deletion_failed__java__commysqljdbcexceptionsjdbc4__mysqlintegrityconstraintviolationexception__cannot_delete_or_update_a_parent_row__a_foreign_key_constraint_fails_(`as_2x`.`top_container_housed_at_rlshp`__constraint_`top_container_housed_at_rlshp_ibfk_2`_foreign_key_(`location_id`)_references_`location`_(`id`))

Andrew Holland
University of Iowa Libraries

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> On Behalf Of Christine Di Bella
Sent: Wednesday, April 18, 2018 12:49 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Errors editing older resource records v.2.3.1

Hi Sarah,

This sounds somewhat similar to the issue Ashley Knox reported yesterday and that our tech support people are helping with right now. I'm going to put a ticket in for you as well. (You'll see another message about that directly to you in a minute.) It would be great if you would report the resolution back to the list once it gets solved.

Christine

Christine Di Bella
ArchivesSpace Program Manager
christine.dibella at lyrasis.org<mailto:christine.dibella at lyrasis.org>
800.999.8558 x2905
678-235-2905
cdibella13 (Skype)

[ASpaceOrgHomeMedium]


From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> On Behalf Of Pinard, Sarah
Sent: Wednesday, April 18, 2018 11:34 AM
To: archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Errors editing older resource records v.2.3.1

Hello,

Since updating to ArchivesSpace version 2.3.1 we've experienced errors when editing resource records and accessions created prior to the upgrade. These errors occur when editing existing data (notes, identifiers, instances, etc.). We do not experience these errors when we add new archival objects and their associated instances, notes, etc. to the same resource records.  Another error we've run into is when we try to delete a resource record that was created prior to the upgrade.

We'd like to know if anyone else has seen these, if they have been reported, and if there's a fix?

Please see screenshots of the errors below.

When editing existing data in resource record or accession records:

[cid:image001.jpg at 01D3D708.575254C0]


When trying to delete a resource record:

Resource could not be deleted:

Record deletion failed: Java::ComMysqlJdbcExceptionsJdbc4::MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`archivesspace`.`container`, CONSTRAINT `container_ibfk_5` FOREIGN KEY (`instance_id`) REFERENCES `instance` (`id`))

Sarah Pinard, CA
Processing Archivist
University Archives
University at Buffalo
420 Capen Hall
Buffalo, NY 14260-1674
(716) 645-1362
http://library.buffalo.edu/archives/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180418/ffd22dd6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4009 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180418/ffd22dd6/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 18233 bytes
Desc: image002.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180418/ffd22dd6/attachment-0001.jpg>


More information about the Archivesspace_Users_Group mailing list