<div dir="ltr">Yes those issues need to be fixed on AT side.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 4:04 PM, Mang Sun <span dir="ltr"><<a href="mailto:mang.sun@rice.edu" target="_blank">mang.sun@rice.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    Nathan,<br>
    <br>
    You are right. Those server errors were generated when running
    migrator 1.0.7 again a  v1.0.9 AS  instance.<br>
    Now using the lastest v.1.0.9-v.1.1.0 migrator against an AS 1.1.0
    instance, I can see most of the server error problems gone except<br>
    <br>
    {<br>
      "errors": ["Server error: #<:ValidationException:
    {:errors=>{\"instances/0/instance_type\"=>[\"Property is
    required but was missing\"]}}>"],<br>
      "saved": []<br>
    <br>
    which I think can be fixed at the AT side.<br>
    <br>
    Also there are a couple of issues with digital objects as follows.<br>
    <br>
    <a href="http://xxx.xxxedu/handle/1911/9246" target="_blank">http://xxx.xxxedu/handle/1911/9246</a><br>
    Status code: 400<br>
    Status text: Bad Request<br>
    {"error":{"file_versions/0/file_uri":["Property is required but was
    missing"]},"warning":null,"invalid_object":"#<JSONModel(:digital_object)
    {\"digital_object_id\"=>\<a href="http://xxxx.xxx/handle/1911/9246%5C" target="_blank">"http://xxxx.xxx/handle/1911/9246\"</a>,
    \"title\"=>\"unspecified\", \"restrictions\"=>false,
    \"digital_object_type\"=>\"text\",
    \"file_versions\"=>[{\"xlink_show_attribute\"=>\"new\",
    \"xlink_actuate_attribute\"=>\"onRequest\"}],
    \"external_ids\"=>[{\"external_id\"=>\"15\",
    \"source\"=>\"Archivists Toolkit Database::DIGITAL_OBJECT\"}],
    \"publish\"=>true, \"notes\"=>[],
    \"jsonmodel_type\"=>\"digital_object\", \"subjects\"=>[],
    \"linked_events\"=>[], \"extents\"=>[], \"dates\"=>[],
    \"external_documents\"=>[], \"rights_statements\"=>[],
    \"linked_agents\"=>[], \"linked_instances\"=>[]}>"}<br>
    <br>
    <br>
    Anyway, huge progress. Thank you a lot Nathan.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Mang</font></span><div><div class="h5"><br>
    <br>
    <br>
    <div>On 10/23/2014 7:55 AM, Nathan Stevens
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Good Morning Mang,<br>
          <br>
        </div>
        Can you test the migration again using the latest version
        (v1.1.0) of ArchivesSpace, and the most up to date migration
        plugin (see attached) and let us know if you still see these
        errors?  <br>
        <br>
        Remember to only migrate into an empty ASpace database, and not
        use the Advance Migrator Window.<br>
        <br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Oct 22, 2014 at 3:57 PM, Mang
          Sun <span dir="ltr"><<a href="mailto:mang.sun@rice.edu" target="_blank">mang.sun@rice.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            When playing around with AT Migrator plugin 1.0.7, I run
            into seeing a series of  server errors like below<br>
            <br>
            Endpoint: <a href="http://xx.xx.xx.xx:8089/repositories/2/batch_imports" target="_blank">http://xx.xx.xx.xx:8089/repositories/2/batch_imports</a><br>
            AT Identifier: xxx<br>
            Status Code: 200<br>
            Status text: OK<br>
            {<br>
            "error" :["sever error: Problem creating ' xxxx for example
            a resource name': Couldn't create version of :#<br>
            <subject:0x595207f>"],<br>
            "saved": []<br>
            }<br>
            <br>
            <br>
            But when trying with v 1.0.9 plugin, it will fail at a  very
            early stage during Repository Check.<br>
            Unrecoverable exception, migration stopped ...<br>
            Current record type: resouce Record<br>
            Record Identifier: DB ID: 29<br>
            AT ID: xxx (resource identfier)<br>
            java.lang.NullpointerException<br>
             at org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.addNotes(ASpaceMapper.java:1817)<br>
            at org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.convertResource(ASpaceMapper.java:1419)<br>
            at org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.convert(ASpaceMapper.java:1079)<br>
            at org.archiviststoolkit.plugin.utils.aspace.ASpaceMapper.ASpaceCopyUtil.copyResourceRecords(ASpaceCopyUtil.java:1146)<br>
            at org.archiviststoolkit.plugin.util.dbCopyFrameS1.run(dbCopyFrame.java.:367)<br>
            <br>
            Did you ever see similar problems when using v.1.0.7 or
            v.1.0.9 migrators to migrate AT data into AS?<br>
            <br>
            <br>
            Thank you<span><font color="#888888"><br>
                <br>
                Mang Sun<br>
                Fondren Library<br>
                Rice U.<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><br>
              </font></span></blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Nathan Stevens<br>
        Programmer/Analyst<br>
        Digital Library Technology Services<br>
        New York University<br>
        <br>
        <a href="tel:1212-998-2653" value="+12129982653" target="_blank">1212-998-2653</a><br>
        <a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Archivesspace_Users_Group mailing list
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
    <br>
  </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><br clear="all"><br>-- <br>Nathan Stevens<br>Programmer/Analyst<br>Digital Library Technology Services<br>New York University<br><br>1212-998-2653<br><a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a>
</div>