<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body 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 class="moz-txt-link-freetext" href="http://xxx.xxxedu/handle/1911/9246">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 class="moz-txt-link-rfc2396E" href="http://xxxx.xxx/handle/1911/9246\">"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.<br>
    <br>
    Mang<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 10/23/2014 7:55 AM, Nathan Stevens
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADi=b=MUSUdgaQU_=_Yf4J4HggMuA4q0Mz_Qbpx9L=2pbGQ0tw@mail.gmail.com"
      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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 class="HOEnZb"><font color="#888888"><br>
                <br>
                Mang Sun<br>
                Fondren Library<br>
                Rice U.<br>
                _______________________________________________<br>
                Archivesspace_Users_Group mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org"
                  target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
                <a moz-do-not-send="true"
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>
        1212-998-2653<br>
        <a moz-do-not-send="true" href="mailto:ns96@nyu.edu"
          target="_blank">ns96@nyu.edu</a>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>