[Archivesspace_Users_Group] Moving archival objects --> Inventory display issues

Olivia S Solis livsolis at utexas.edu
Mon Dec 4 11:55:18 EST 2017


Hi all,

So, we are using the API to migrate all of our legacy data into ASpace. I
accidentally assigned a number of archival objects to the wrong parent.
(oops!) We figured out how to interpret all the parameters here:
https://archivesspace.github.io/archivesspace/api/#post-repositories-repo_id-archival_objects-id-accept_children
to reassign to the children to the correct parents. Everything worked great
except there now seem to be some display issues in the inventory tree in
the staff interface. The level for the moved archival objects are
misaligned with the rest of the archival objects in the collection. I've
not yet linked all of our containers to their associated archival objects,
but I made a fake container and associated it to one of the moved children
to see what would happen. The level appears in the same cell as the fake
container indicator. See screen shot.

I looked at the JSON, and everything looks good there. Before adding the
container:

{"lock_version":1,"position":0,"publish":true,"ref_id":"6f79ba7ad742e13a3a01dba335e443c4","title":"American
Civil Liberties Union (ACLU) in San Antonio","display_string":"American
Civil Liberties Union (ACLU) in San
Antonio","other_level":"unspecified","restrictions_apply":false,"created_by":"osolis","last_modified_by":"osolis","create_time":"2017-08-03T17:46:31Z","system_mtime":"2017-12-04T16:17:28Z","user_mtime":"2017-10-12T20:28:28Z","suppressed":false,"level":"otherlevel","jsonmodel_type":"archival_object","external_ids":[],"subjects":[],"linked_events":[],"extents":[],"dates":[],"external_documents":[],"rights_statements":[],"linked_agents":[],"instances":[],"notes":[],"uri":"/repositories/2/archival_objects/591562","repository":{"ref":"/repositories/2"},"resource":{"ref":"/repositories/2/resources/567"},"parent":{"ref":"/repositories/2/archival_objects/594393"},"has_unpublished_ancestor":false}

After adding the container:
{"lock_version":2,"position":0,"publish":true,"ref_id":"6f79ba7ad742e13a3a01dba335e443c4","title":"American
Civil Liberties Union (ACLU) in San Antonio","display_string":"American
Civil Liberties Union (ACLU) in San
Antonio","other_level":"unspecified","restrictions_apply":false,"created_by":"osolis","last_modified_by":"osolis","create_time":"2017-08-03T17:46:31Z","system_mtime":"2017-12-04T16:36:05Z","user_mtime":"2017-12-04T16:36:05Z","suppressed":false,"level":"otherlevel","jsonmodel_type":"archival_object","external_ids":[],"subjects":[],"linked_events":[],"extents":[],"dates":[],"external_documents":[],"rights_statements":[],"linked_agents":[],"instances":[{"lock_version":0,"created_by":"osolis","last_modified_by":"osolis","create_time":"2017-12-04T16:36:05Z","system_mtime":"2017-12-04T16:36:05Z","user_mtime":"2017-12-04T16:36:05Z","instance_type":"mixed_materials","jsonmodel_type":"instance","is_representative":false,"sub_container":{"lock_version":0,"created_by":"osolis","last_modified_by":"osolis","create_time":"2017-12-04T16:36:05Z","system_mtime":"2017-12-04T16:36:05Z","user_mtime":"2017-12-04T16:36:05Z","jsonmodel_type":"sub_container","top_container":{"ref":"/repositories/2/top_containers/28804"}},"container":{"type_1":"box","indicator_1":"fake
container","container_locations":[],"lock_version":1}}],"notes":[],"uri":"/repositories/2/archival_objects/591562","repository":{"ref":"/repositories/2"},"resource":{"ref":"/repositories/2/resources/567"},"parent":{"ref":"/repositories/2/archival_objects/594393"},"has_unpublished_ancestor":false}

...so I think our data is good.

Has anyone else experienced this kink when using the API to move archival
objects? Any suggestions? Reindexing?

Thanks!
Olivia
-- 
Olivia Solis, MSIS
Metadata Coordinator
Dolph Briscoe Center for American History
The University of Texas at Austin
2300 Red River St. Stop D1100
Austin TX, 78712-1426
(512) 232-8013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20171204/26e66c55/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-12-04 at 10.36.19 AM.png
Type: image/png
Size: 375660 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20171204/26e66c55/attachment.png>


More information about the Archivesspace_Users_Group mailing list