<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 9:48 AM, Lora Davis <span dir="ltr"><<a href="mailto:ljdavis@jhu.edu" target="_blank">ljdavis@jhu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hey Christie,
<div><br>
</div>
<div>Given this:</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div><span style="color:rgb(169,68,66);font-family:'helvetica neue',helvetica,arial,sans-serif;font-size:14px;background-color:rgb(242,222,222)">duplicate_entry__297608@<wbr>archival_object-0__for_key__<wbr>uniq_ao_pos_</span></div>
</div>
</blockquote>
<br>
</div>
<div>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 #.  </div>
<div><br>
</div>
<div>So, for example, archival_objects/2 would be:</div>
<div><br>
</div>
<div>
<div>{</div>
<div>  "lock_version": 0,</div>
<div>  <font color="#ff2600">"position": 0,</font></div>
<div>  "publish": true,</div>
<div>  "ref_id": "<wbr>9759e8ea59d8e8c95237974522c975<wbr>51",</div>
<div>  "title": "Research Materials”,</div>
</div>
<div>
<div>     <snip></div>
<div>  "parent": {</div>
<div>    <font color="#ff2600">"ref": "/repositories/2/archival_<wbr>objects/1"</font></div>
<div>  }</div>
<div>}</div>
</div>
<div><br>
</div>
<div>And archival_objects/3 is also:</div>
<div><br>
</div>
<div>
<div>{</div>
<div>  "lock_version": 0,</div>
<div> <font color="#ff2600"> "position": 0,</font></div>
<div>  "publish": true,</div>
<div>  "ref_id": "<wbr>4b2114851f10f24ea86c6506fb1a82<wbr>9f",</div>
<div>  "title": "Rabelais-Villon",</div>
<div>     <snip></div>
<div>  "parent": {</div>
<div>    <font color="#ff2600">"ref": "/repositories/2/archival_<wbr>objects/1"</font></div>
<div>  }</div>
<div>}</div>
</div>
<div><br>
</div>
<div>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!</div>
<div><br>
</div>
<div>Or, I could be way off base… :)</div>
<div><br>
</div>
<div>Lora</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite"><div><div class="h5">
<div>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:</div>
<br class="m_2017124977474725661Apple-interchange-newline">
</div></div><div><div><div class="h5">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm having a problem with some archival objects where any attempt to edit them through the user interface results in the following error:</div>
<div><br>
</div>
<div><span style="color:rgb(169,68,66);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:14px;background-color:rgb(242,222,222)">translation missing:
<a href="http://en.no/" target="_blank">en.no</a> key - translation missing: 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><br clear="all">
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Has anyone run into this before? Have any suggestions?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Christie</div>
<div><br>
</div>
-- <br>
<div class="m_2017124977474725661gmail_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.2px"><span><font size="2">George Washington University Libraries</font></span></div>
<div style="color:rgb(80,0,80);font-size:13.2px"><span style="font-size:small">704H Gelman Library</span><font size="2"><br>
</font></div>
<div style="color:rgb(80,0,80);font-size:13.2px"><font size="2"><span><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.2px"><font size="2"><span><a href="tel:(202)%20994-3925" value="+12029943925" target="_blank">202.994.3925</a></span></font></div>
</div>
</div>
</div>
</div>
</div></div></div>
______________________________<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="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
</div>
</blockquote>
</div>
<br>
</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>