<div dir="ltr">For anybody riveted by this post, reindexing didn't help the problem. :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 10:55 AM, Olivia S Solis <span dir="ltr"><<a href="mailto:livsolis@utexas.edu" target="_blank">livsolis@utexas.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>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:</div><div><a href="https://archivesspace.github.io/archivesspace/api/#post-repositories-repo_id-archival_objects-id-accept_children" target="_blank">https://archivesspace.github.<wbr>io/archivesspace/api/#post-<wbr>repositories-repo_id-archival_<wbr>objects-id-accept_children</a><br></div><div>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.</div><div><br></div><div>I looked at the JSON, and everything looks good there. Before adding the container:</div><div><br></div><div>{"lock_version":1,"position":<wbr>0,"publish":true,"ref_id":"<wbr>6f79ba7ad742e13a3a01dba335e443<wbr>c4","title":"American Civil Liberties Union (ACLU) in San Antonio","display_string":"<wbr>American Civil Liberties Union (ACLU) in San Antonio","other_level":"<wbr>unspecified","restrictions_<wbr>apply":false,"created_by":"<wbr>osolis","last_modified_by":"<wbr>osolis","create_time":"2017-<wbr>08-03T17:46:31Z","system_<wbr>mtime":"2017-12-04T16:17:28Z",<wbr>"user_mtime":"2017-10-12T20:<wbr>28:28Z","suppressed":false,"<wbr>level":"otherlevel","<wbr>jsonmodel_type":"archival_<wbr>object","external_ids":[],"<wbr>subjects":[],"linked_events":[<wbr>],"extents":[],"dates":[],"<wbr>external_documents":[],"<wbr>rights_statements":[],"linked_<wbr>agents":[],"instances":[],"<wbr>notes":[],"uri":"/<wbr>repositories/2/archival_<wbr>objects/591562","repository":{<wbr>"ref":"/repositories/2"},"<wbr>resource":{"ref":"/<wbr>repositories/2/resources/567"}<wbr>,"parent":{"ref":"/<wbr>repositories/2/archival_<wbr>objects/594393"},"has_<wbr>unpublished_ancestor":false}<br></div><div><br></div><div>After adding the container:</div><div>{"lock_version":2,"position":<wbr>0,"publish":true,"ref_id":"<wbr>6f79ba7ad742e13a3a01dba335e443<wbr>c4","title":"American Civil Liberties Union (ACLU) in San Antonio","display_string":"<wbr>American Civil Liberties Union (ACLU) in San Antonio","other_level":"<wbr>unspecified","restrictions_<wbr>apply":false,"created_by":"<wbr>osolis","last_modified_by":"<wbr>osolis","create_time":"2017-<wbr>08-03T17:46:31Z","system_<wbr>mtime":"2017-12-04T16:36:05Z",<wbr>"user_mtime":"2017-12-04T16:<wbr>36:05Z","suppressed":false,"<wbr>level":"otherlevel","<wbr>jsonmodel_type":"archival_<wbr>object","external_ids":[],"<wbr>subjects":[],"linked_events":[<wbr>],"extents":[],"dates":[],"<wbr>external_documents":[],"<wbr>rights_statements":[],"linked_<wbr>agents":[],"instances":[{"<wbr>lock_version":0,"created_by":"<wbr>osolis","last_modified_by":"<wbr>osolis","create_time":"2017-<wbr>12-04T16:36:05Z","system_<wbr>mtime":"2017-12-04T16:36:05Z",<wbr>"user_mtime":"2017-12-04T16:<wbr>36:05Z","instance_type":"<wbr>mixed_materials","jsonmodel_<wbr>type":"instance","is_<wbr>representative":false,"sub_<wbr>container":{"lock_version":0,"<wbr>created_by":"osolis","last_<wbr>modified_by":"osolis","create_<wbr>time":"2017-12-04T16:36:05Z","<wbr>system_mtime":"2017-12-04T16:<wbr>36:05Z","user_mtime":"2017-12-<wbr>04T16:36:05Z","jsonmodel_type"<wbr>:"sub_container","top_<wbr>container":{"ref":"/<wbr>repositories/2/top_containers/<wbr>28804"}},"container":{"type_1"<wbr>:"box","indicator_1":"fake container","container_<wbr>locations":[],"lock_version":<wbr>1}}],"notes":[],"uri":"/<wbr>repositories/2/archival_<wbr>objects/591562","repository":{<wbr>"ref":"/repositories/2"},"<wbr>resource":{"ref":"/<wbr>repositories/2/resources/567"}<wbr>,"parent":{"ref":"/<wbr>repositories/2/archival_<wbr>objects/594393"},"has_<wbr>unpublished_ancestor":false}<br></div><div><br></div><div>...so I think our data is good.</div><div><br></div><div>Has anyone else experienced this kink when using the API to move archival objects? Any suggestions? Reindexing?</div><div><br clear="all"><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>Olivia</div>-- <br><div class="m_-7699979820019104589gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#000000">Olivia Solis, MSIS</font></div><div style="font-size:12.8px"><font color="#000000">Metadata Coordinator</font></div><div style="font-size:12.8px"><font color="#000000">Dolph Briscoe Center for American History</font></div><div style="font-size:12.8px"><font color="#000000">The University of Texas at Austin</font></div><div style="font-size:12.8px"><font color="#000000">2300 Red River St. Stop D1100</font></div><div style="font-size:12.8px"><font color="#000000">Austin TX, 78712-1426</font></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px"><a href="tel:(512)%20232-8013" value="+15122328013" target="_blank">(512) 232-8013</a></span></div></div></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#000000">Olivia Solis, MSIS</font></div><div style="font-size:12.8px"><font color="#000000">Metadata Coordinator</font></div><div style="font-size:12.8px"><font color="#000000">Dolph Briscoe Center for American History</font></div><div style="font-size:12.8px"><font color="#000000">The University of Texas at Austin</font></div><div style="font-size:12.8px"><font color="#000000">2300 Red River St. Stop D1100</font></div><div style="font-size:12.8px"><font color="#000000">Austin TX, 78712-1426</font></div><div style="color:rgb(136,136,136);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">(512) 232-8013</span></div></div></div></div></div></div></div>
</div>