<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.m1607855741660793628gmail-p1, li.m1607855741660793628gmail-p1, div.m1607855741660793628gmail-p1
        {mso-style-name:m_1607855741660793628gmail-p1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.m1607855741660793628gmail-s1
        {mso-style-name:m_1607855741660793628gmail-s1;}
span.m1607855741660793628gmail-s2
        {mso-style-name:m_1607855741660793628gmail-s2;}
span.m1607855741660793628gmail-s3
        {mso-style-name:m_1607855741660793628gmail-s3;}
span.m1607855741660793628gmail-s4
        {mso-style-name:m_1607855741660793628gmail-s4;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Bria,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I can’t tell you where exactly this is happening, but mismatch between indicators usually means that you have two different top container indicators assigned
 to the same barcode.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You’d have to look at the barcodes that are already in the system, and any indicators associated with the import. I don’t see anything wrong in the snippet you
 sent below, but I also don’t really know what’s already in your database.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">We had a lot of these errors when we migrated to 1.5.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-Patrick Galligan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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"> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Bria Lynn Parker<br>
<b>Sent:</b> Tuesday, January 24, 2017 11:10 AM<br>
<b>To:</b> Archivesspace Users Group <Archivesspace_Users_Group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">I should add:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">I'm running 1.5.2, and I have checked for sneaky whitespaces within any of these attributes and have found none.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker <<a href="mailto:blparker@umd.edu" target="_blank">blparker@umd.edu</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">We've finished cleaning up/normalizing our EAD (including implementing container attributes and the like for container management). The majority are importing fine, no errors (or, at least no
 errors I can't find and fix, like bad begin/ends). However, for some of our finding aids, I'm getting the following:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black;background:white">indicator_1 : Mismatch when mapping between indicator and indicator_1</span><span style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;background:white">No other info about location, etc. I've about torn my hair out trying to find
<i>any</i> mismatch of container data - I've checked every instance's dummy barcode (which is constructed in part from the id), id, and parent against itself, crosschecked with the container indicator, and they all match within themselves. We're importing barcodes
 in the label attribute, which</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;background:white">works (except when it doesn't here?). The error message getting thrown is from this ruby function
</span><span style="font-family:"Arial",sans-serif;color:black"><a href="https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/lib/aspace_json_to_managed_container_mapper.rb#L173" target="_blank">https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/backend/app/lib/aspace_json_to_managed_container_mapper.rb#L173</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Help? If someone has encountered this and figured it out, let me know - I'd love some help. If you want to contact me off list, I can sent you a full xml file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Here's an example from my xml:</span><o:p></o:p></p>
</div>
<div>
<p class="m1607855741660793628gmail-p1">        <span class="m1607855741660793628gmail-s1"><c02</span><span class="m1607855741660793628gmail-s2"> level</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"file"</span><span class="m1607855741660793628gmail-s1">></span><br>
          <span class="m1607855741660793628gmail-s1"><did></span><br>
            <span class="m1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m1607855741660793628gmail-s1"></unittitle></span><br>
            <span class="m1607855741660793628gmail-s1"><unitdate</span><span class="m1607855741660793628gmail-s2"> normal</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"1905/1908"</span><span class="m1607855741660793628gmail-s1">></span>1905-1908<span class="m1607855741660793628gmail-s1"></unitdate></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> label</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"box"</span><span class="m1607855741660793628gmail-s2"> id</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s1">></span>1<span class="m1607855741660793628gmail-s1"></container></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> parent</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"folder"</span><span class="m1607855741660793628gmail-s1">></span>1.0<span class="m1607855741660793628gmail-s1"></container></span><br>
          <span class="m1607855741660793628gmail-s1"></did></span><br>
        <span class="m1607855741660793628gmail-s1"></c02></span><o:p></o:p></p>
<p class="m1607855741660793628gmail-p1">       <span class="m1607855741660793628gmail-s1"><c02</span><span class="m1607855741660793628gmail-s2"> level</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"file"</span><span class="m1607855741660793628gmail-s1">></span><br>
          <span class="m1607855741660793628gmail-s1"><did></span><br>
            <span class="m1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m1607855741660793628gmail-s1"></unittitle></span><br>
            <span class="m1607855741660793628gmail-s1"><unitdate</span><span class="m1607855741660793628gmail-s2"> normal</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"1909"</span><span class="m1607855741660793628gmail-s1">></span>1909<span class="m1607855741660793628gmail-s1"></unitdate></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> label</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"box"</span><span class="m1607855741660793628gmail-s2"> id</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s1">></span>1<span class="m1607855741660793628gmail-s1"></container></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> parent</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"folder"</span><span class="m1607855741660793628gmail-s1">></span>2.0<span class="m1607855741660793628gmail-s1"></container></span><br>
          <span class="m1607855741660793628gmail-s1"></did></span><br>
        <span class="m1607855741660793628gmail-s1"></c02></span><o:p></o:p></p>
<p class="m1607855741660793628gmail-p1"><br>
        <span class="m1607855741660793628gmail-s1"><c02</span><span class="m1607855741660793628gmail-s2"> level</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"file"</span><span class="m1607855741660793628gmail-s1">></span><br>
          <span class="m1607855741660793628gmail-s1"><did></span><br>
            <span class="m1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m1607855741660793628gmail-s1"></unittitle></span><br>
            <span class="m1607855741660793628gmail-s1"><unitdate</span><span class="m1607855741660793628gmail-s2"> normal</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"1910/1911"</span><span class="m1607855741660793628gmail-s1">></span>1910-1911<span class="m1607855741660793628gmail-s1"></unitdate></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> label</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"box"</span><span class="m1607855741660793628gmail-s2"> id</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s1">></span>1<span class="m1607855741660793628gmail-s1"></container></span><br>
            <span class="m1607855741660793628gmail-s1"><container</span><span class="m1607855741660793628gmail-s2"> parent</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"89.1"</span><span class="m1607855741660793628gmail-s2">
 type</span><span class="m1607855741660793628gmail-s3">=</span><span class="m1607855741660793628gmail-s4">"folder"</span><span class="m1607855741660793628gmail-s1">></span>3.0<span class="m1607855741660793628gmail-s1"></container></span><br>
          <span class="m1607855741660793628gmail-s1"></did></span><br>
        <span class="m1607855741660793628gmail-s1"></c02></span><o:p></o:p></p>
<p class="m1607855741660793628gmail-p1"><span class="m1607855741660793628gmail-s1">(historical background - some of our series restart box numbers at 1, and the container ids reflect that, so 89.1 is the 89th box in the collection, but 1st in the series. This
 is not causing the error as far as I can tell, since other collections with same numbering style import fine)</span><o:p></o:p></p>
<p class="m1607855741660793628gmail-p1"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Bria L. Parker</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Metadata Librarian</span><o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">2200 McKeldin Library</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">University of Maryland</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">College Park, MD 20742-7011</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><a href="tel:%28301%29%20405-9067" target="_blank"><span style="color:#1155CC">(301) 405-9067</span></a></span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="color:#0563C1"><a href="mailto:blparker@umd.edu" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#954F72">blparker@umd.edu</span></a></span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Bria L. Parker</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Metadata Librarian</span><o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">2200 McKeldin Library</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">University of Maryland</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">College Park, MD 20742-7011</span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><a href="tel:%28301%29%20405-9067" target="_blank"><span style="color:#1155CC">(301) 405-9067</span></a></span><span style="color:black"><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="color:#0563C1"><a href="mailto:blparker@umd.edu" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#954F72">blparker@umd.edu</span></a></span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>