[Archivesspace_Users_Group] Unable to edit archival object after transferring

Lora Davis ljdavis at jhu.edu
Tue Apr 18 09:48:04 EDT 2017


Hey Christie,

Given this:

duplicate_entry__297608 at archival_object-0__for_key__uniq_ao_pos_

I’m thinking that what is going on is that during the merge you’ve ended up with two sets of archival_objects belonging to the same parent that have matching “positions" (the ao field that tells ASpace where to place an object in the collection’s tree).  If you have a way to look at the JSON for the archival objects you could confirm that multiple objects have the same position #.

So, for example, archival_objects/2 would be:

{
  "lock_version": 0,
  "position": 0,
  "publish": true,
  "ref_id": "9759e8ea59d8e8c95237974522c97551",
  "title": "Research Materials”,
     <snip>
  "parent": {
    "ref": "/repositories/2/archival_objects/1"
  }
}

And archival_objects/3 is also:

{
  "lock_version": 0,
  "position": 0,
  "publish": true,
  "ref_id": "4b2114851f10f24ea86c6506fb1a829f",
  "title": "Rabelais-Villon",
     <snip>
  "parent": {
    "ref": "/repositories/2/archival_objects/1"
  }
}

That said, if this is the culprit, clearly this shouldn’t happen when transferring ao’s from one collection to another via the staff interface!

Or, I could be way off base… :)

Lora


On Apr 18, 2017, at 8:57 AM, Peterson, Christie <cspeterson at email.gwu.edu<mailto:cspeterson at email.gwu.edu>> wrote:

Hello,

I'm having a problem with some archival objects where any attempt to edit them through the user interface results in the following error:

translation missing: en.no<http://en.no/> key - translation missing: en.validation_errors.database_integrity_constraint_conflict__java__commysqljdbcexceptionsjdbc4__mysqlintegrityconstraintviolationexception__duplicate_entry__297608 at archival_object-0__for_key__uniq_ao_pos_

The only thing I can think of that might be relevant is that these are objects in a series that was transferred from one collection to another via the interface.

Has anyone run into this before? Have any suggestions?

Thanks,

Christie

--
Christie S. Peterson

University Archivist
George Washington University Libraries
704H Gelman Library
cspeterson at gwu.edu<mailto:cspeterson at gwu.edu>
202.994.3925
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto: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/20170418/ce1218d9/attachment.html>


More information about the Archivesspace_Users_Group mailing list