<div dir="ltr">Thank you so much, Noah! I thought there was an answer like this out there.<div><br></div><div>Christie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 10:43 AM, Noah Huffman <span dir="ltr"><<a href="mailto:noah.huffman@duke.edu" target="_blank">noah.huffman@duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_286076120809195611WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Christie,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You can resequence your entire database on startup to solve the problem.  Or, you can install this plugin and resequence just the offending resource record:
<a href="https://github.com/archivesspace-plugins/resync" target="_blank">https://github.com/<wbr>archivesspace-plugins/resync</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You can read the long history of this issue in JIRA:
<a href="https://archivesspace.atlassian.net/browse/AR-1326" target="_blank">https://archivesspace.<wbr>atlassian.net/browse/AR-1326</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Noah<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_<wbr>group-bounces@lyralists.<wbr>lyrasis.org</a>]
<b>On Behalf Of </b>Peterson, Christie<br>
<b>Sent:</b> Tuesday, April 18, 2017 10:16 AM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Unable to edit archival object after transferring<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thanks, yeah, that's what I thought might have happened. Was wondering if anyone else had encountered it and if there was a known fix, since the transfer was done months ago and rolling back the db is not an option at this point.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Apr 18, 2017 at 9:48 AM, Lora Davis <<a href="mailto:ljdavis@jhu.edu" target="_blank">ljdavis@jhu.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hey Christie, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Given this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#a94442;background:#f2dede">duplicate_entry__297608@<wbr>archival_object-0__for_key__<wbr>uniq_ao_pos_</span><u></u><u></u></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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 #.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So, for example, archival_objects/2 would be:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">{<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "lock_version": 0,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  <span style="color:#ff2600">"position": 0,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "publish": true,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "ref_id": "<wbr>9759e8ea59d8e8c95237974522c975<wbr>51",<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "title": "Research Materials”,<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">     <snip><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "parent": {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    <span style="color:#ff2600">"ref": "/repositories/2/archival_<wbr>objects/1"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  }<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">}<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And archival_objects/3 is also:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">{<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "lock_version": 0,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <span style="color:#ff2600"> "position": 0,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "publish": true,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "ref_id": "<wbr>4b2114851f10f24ea86c6506fb1a82<wbr>9f",<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "title": "Rabelais-Villon",<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">     <snip><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  "parent": {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    <span style="color:#ff2600">"ref": "/repositories/2/archival_<wbr>objects/1"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  }<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">}<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Or, I could be way off base… :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Lora<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal">On Apr 18, 2017, at 8:57 AM, Peterson, Christie <<a href="mailto:cspeterson@email.gwu.edu" target="_blank">cspeterson@email.gwu.edu</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hello, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm having a problem with some archival objects where any attempt to edit them through the user interface results in the following error:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#a94442;background:#f2dede">translation missing:
</span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__en.no_&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=F0JE8U9-xhxe_nE7d7aEUi-uqfKqvYJ222bS0oz9mko&m=wQ0lm1Sws0EAC5SGYnSlccdMpQU4arrAmNQhFmZoVZk&s=oFZTbDLle3T8zFxUoF1JkQM_jsxMql-JcJjOZi0k_no&e=" target="_blank"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;background:#f2dede">en.no</span></a><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#a94442;background:#f2dede">
 key - translation missing: </span><a href="mailto:en.validation_errors.database_integrity_constraint_conflict__java__commysqljdbcexceptionsjdbc4__mysqlintegrityconstraintviolationexception__duplicate_entry__297608@archival_object-0__for_key__uniq_ao_pos_" target="_blank"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;background:#f2dede">en.validation_errors.database_<wbr>integrity_constraint_conflict_<wbr>_java__<wbr>commysqljdbcexceptionsjdbc4__<wbr>mysqlintegrityconstraintviolat<wbr>ionexception__duplicate_entry_<wbr>_297608@archival_object-0__<wbr>for_key__uniq_ao_pos_</span></a><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Has anyone run into this before? Have any suggestions?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Christie<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Christie S. Peterson <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">University Archivist<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#500050">George Washington University Libraries<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#500050">704H Gelman Library</span><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:cspeterson@gwu.edu" target="_blank"><span style="font-size:10.0pt">cspeterson@gwu.edu</span></a><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><a href="tel:(202)%20994-3925" target="_blank"><span style="font-size:10.0pt">202.994.3925</span></a><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=F0JE8U9-xhxe_nE7d7aEUi-uqfKqvYJ222bS0oz9mko&m=wQ0lm1Sws0EAC5SGYnSlccdMpQU4arrAmNQhFmZoVZk&s=B1Ur4bQrcikUF8YU81rUqVssn7kAkiQ1XvrwnGUhAf4&e=" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=F0JE8U9-xhxe_nE7d7aEUi-uqfKqvYJ222bS0oz9mko&m=wQ0lm1Sws0EAC5SGYnSlccdMpQU4arrAmNQhFmZoVZk&s=B1Ur4bQrcikUF8YU81rUqVssn7kAkiQ1XvrwnGUhAf4&e=" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Christie S. Peterson<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">University Archivist<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">George Washington University Libraries</span><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">704H Gelman Library</span><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:cspeterson@gwu.edu" target="_blank"><span style="font-size:10.0pt">cspeterson@gwu.edu</span></a><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><a href="tel:(202)%20994-3925" value="+12029943925" target="_blank">202.994.3925</a></span><span style="font-size:10.0pt;color:#500050"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Christie S. Peterson<div><br></div><div>University Archivist</div><div><div style="color:rgb(80,0,80);font-size:13.1999998092651px"><span style="color:rgb(0,0,0)"><font size="2">George Washington University Libraries</font></span></div><div style="color:rgb(80,0,80);font-size:13.1999998092651px"><span style="color:rgb(0,0,0);font-size:small">704H Gelman Library</span><font size="2"><br></font></div><div style="color:rgb(80,0,80);font-size:13.1999998092651px"><font size="2"><span style="color:rgb(0,0,0)"><a href="mailto:cspeterson@gwu.edu" target="_blank">cspeterson@gwu.edu</a></span></font></div><div style="color:rgb(80,0,80);font-size:13.1999998092651px"><font size="2"><span style="color:rgb(0,0,0)">202.994.3925</span></font></div></div></div></div>
</div>