<div dir="ltr">Brad and all, thanks.<div><br></div><div>I'll start perusing the Pivotal issues more closely from now on.<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 2:54 PM, Brad Westbrook <span dir="ltr"><<a href="mailto:brad.westbrook@lyrasis.org" target="_blank">brad.westbrook@lyrasis.org</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>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi, Michael.<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">This is a known bug and will be fixed in the next release, which we are closing in on finishing.  You can see the user story at
<a href="https://www.pivotaltracker.com/story/show/68437254" target="_blank">https://www.pivotaltracker.com/story/show/68437254</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">Brad W.<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"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">Bradley D. Westbrook<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">Program Manager<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="mailto:brad@archivesspace.org" target="_blank"><span style="color:#1f497d">brad.westbrook@lyrasis.org</span></a><u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="tel:800.999.8558%20x2910" value="+18009998558" target="_blank">800.999.8558 x2910</a><u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="tel:678.235.2910" value="+16782352910" target="_blank">678.235.2910</a><u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">bradley_d_westbrook (Skype) </span><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:"Arial","sans-serif""><img border="0" width="199" height="55" src="cid:image001.png@01CF4CF1.03943E70" alt="cid:image003.png@01CE734E.FD759D30"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><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"><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:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Levy, Michael<br>
<b>Sent:</b> Monday, March 31, 2014 11:43 AM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Error message in saving record<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">We are experiencing something similar with 1.0.7.1.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We created an item, added an instance and a digital object, saved it with no problems. Then we tried to remove the digital object and got this error message:<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.0pt;font-family:"Helvetica","sans-serif";color:#b94a48;background:#f2dede">translation missing:
<a href="http://en.no" target="_blank">en.no</a> key -</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This log output includes the SQL constraint error. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We'd be happy to help narrow this down if that would be useful.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">in", :login_time=>2014-03-31 11:25:08 -0400, :expirable=>true}, @id="dd1c8c2d4f851d57fe3cdc754ee54a9d0bddddd31f1df8f34ea2f885d7dd91b6">]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">D, [2014-03-31T11:31:37.078000 #29151] DEBUG -- : Thread-379022: Post-processed params: {}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">D, [2014-03-31T11:31:37.578000 #29151] DEBUG -- : Thread-379022: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"25577"}, ["[{\"lock_version\":0,\"name\":\"linked_agent_archival_record_relators\",\"editable\":true,\"create_time\":\"2014-03-07T20:52:11Z\",\"system_mtime\":\"2014-03-07T20:52:11Z\",\"user_mtime\":\"2014-03-07T20:52:11Z\",\"jsonmodel_type\":\"enumeration\",\"values\":[\"acp\",\"act\",\"adp\",\"aft\",\"anl\",\"anm\",\"ann\",\"ant\",\"app\",\"aqt\",\"arc\",\"ard\",\"arr\",\"art\",\"asg\",\"as...
 in 518.0ms<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">D, [2014-03-31T11:31:37.663000 #29151] DEBUG -- : Thread-378916: POST /repositories/2/archival_objects/2 [session: #<Session:0x4775fe3b @store={:user=>"admin", :login_time=>2014-03-31 11:25:08 -0400, :expirable=>true}, @id="dd1c8c2d4f851d57fe3cdc754ee54a9d0bddddd31f1df8f34ea2f885d7dd91b6">]<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">D, [2014-03-31T11:31:37.697000 #29151] DEBUG -- : Thread-378916: Post-processed params: {:id=>2, :archival_object=>#<JSONModel(:archival_object) {"lock_version"=>"1", "resource"=>{"ref"=>"/repositories/2/resources/1"}, "position"=>0, "title"=>"one
 page letter from Josef Broniatowski to the Perloff family about the problem with the affidavit in his immigration application", "ref_id"=>"67c485e3e79e1d23ac23207a18c4615e", "level"=>"item", "publish"=>true, "dates"=>[{"lock_version"=>"0", "label"=>"other",
 "expression"=>"July 14, 1938", "date_type"=>"single"}], "instances"=>[{"lock_version"=>"0", "instance_type"=>"text", "container"=>{"lock_version"=>"0", "type_1"=>"folder", "indicator_1"=>"1", "container_locations"=>[]}}, {"lock_version"=>"0", "instance_type"=>"digital_object",
 "digital_object"=>{"ref"=>"/repositories/2/digital_objects/1"}}], "restrictions_apply"=>false, "jsonmodel_type"=>"archival_object", "external_ids"=>[], "subjects"=>[], "extents"=>[], "external_documents"=>[], "rights_statements"=>[], "linked_agents"=>[], "notes"=>[],
 "linked_events"=>[], "component_id"=>""}>, :repo_id=>2}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">E, [2014-03-31T11:31:38.143000 #29151] ERROR -- :<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Java::JavaSql::SQLIntegrityConstraintViolationException: DELETE on table 'INSTANCE' caused a violation of foreign key constraint 'SQL140307155144480' for key (9).  The statement has been rolled back.<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">java.lang.reflect.Method.invoke(Method.java:597)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:455)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:316)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:61)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">rubyjit.Sequel::JDBC::Database$$execute_BA39EE6C9DF8254AA4544BFB9356606B35D67A19.block_6$RUBY$__file__(/data/sites/apps/public/archivesspace-v1.0.7.1/gems/gems/sequel-3.41.0/lib/sequel/adapters/jdbc.rb:266)<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">rubyjit$Sequel::JDBC::Database$$execute_BA39EE6C9DF8254AA4544BFB9356606B35D67A19$block_6$RUBY$__file__.call(rubyjit$Sequel::JDBC::Database$$execute_BA39EE6C9DF8254AA4544BFB9356606B35D67A19$block_6$RUBY$__file__)<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">org.jruby.runtime.CompiledBlock19.yieldSpecificInternal(CompiledBlock19.java:117)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.runtime.CompiledBlock19.yieldSpecific(CompiledBlock19.java:92)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">org.jruby.runtime.Block.yieldSpecific(Block.java:111)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">rubyjit.Sequel::Database$$log_yield_639CF3E5DAF05FE8E8A5DE26EB5A99A37DE0E0B6.__file__(/data/sites/apps/public/archivesspace-v1.0.7.1/gems/gems/sequel-3.41.0/lib/sequel/database/logging.rb:33)<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">rubyjit.Sequel::Database$$log_yield_639CF3E5DAF05FE8E8A5DE26EB5A99A37DE0E0B6.__file__(/data/sites/apps/public/archivesspace-v1.0.7.1/gems/gems/sequel-3.41.0/lib/sequel/database/logging.rb)<u></u><u></u></p>


</div>
<div>
<p class="MsoNormal">org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:42)<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>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Mar 26, 2014 at 11:47 AM, Jacob, Diane B. <<a href="mailto:JacobDB@vmi.edu" target="_blank">JacobDB@vmi.edu</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m having trouble saving a record.  This occurred after I was adding two instances – one physical,
 and one digital object.  I added the digital object first, saved the record, and all was well.  After I added the second instance, I received the error.  I have deleted the record and created it again, but the same pattern occurs.  Can someone help explain
 what’s happening here?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#b94a48;background:#f2dede">translation missing:
<a href="http://en.no" target="_blank">en.no</a> key - translation missing: en.validation_errors.database_integrity_constraint_conflict__java__commysqljdbcexceptionsjdbc4__mysqlintegrityconstraintviolationexception__cannot_delete_or_update_a_parent_row__a_foreign_key_constraint_fails_(`archivesspaceram`.`instance_do_link_rlshp`__constraint_`instance_do_link_rlshp_ibfk_2`_foreign_key_(`instance_id`)_references_`instance`_(`id`))</span><u></u><u></u></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks, Diane</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Diane B. Jacob</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Head, Archives & Records Management</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Virginia Military Institute</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Preston Library</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Lexington, VA 24450</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="tel:540-464-7566" target="_blank">540-464-7566</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.vmi.edu/archives" target="_blank">www.vmi.edu/archives</a></span><u></u><u></u></p>


</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br></div></div></div>