<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I should add:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm running 1.5.2, and I have checked for sneaky whitespaces within any of these attributes and have found none.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 24, 2017 at 11:06 AM, Bria Lynn Parker <span dir="ltr"><<a href="mailto:blparker@umd.edu" target="_blank">blparker@umd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi all - I'm hoping someone has a tip or hint at where I'm going wrong:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,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:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:monospace;font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000">indicator_1 : Mismatch when mapping between indicator and indicator_1</font></span><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:monospace;font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div class="gmail_default"><span style="font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">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</font></span></div><div class="gmail_default"><span style="font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">works (except when it doesn't here?). The error message getting thrown is from this ruby function </font></span><font color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"><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/<wbr>archivesspace/archivesspace/<wbr>blob/<wbr>5e1ca66f1f04f142f2695024efb720<wbr>0825046325/backend/app/lib/<wbr>aspace_json_to_managed_<wbr>container_mapper.rb#L173</a></span></font></div><div class="gmail_default"><span style="font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></span></div><div class="gmail_default">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.<span style="font-size:13px;white-space:pre-wrap;background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></span></div><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px;white-space:pre-wrap">Here's an example from my xml:</span><br></div><div class="gmail_default">
<p class="m_1607855741660793628gmail-p1">
</p><p class="m_1607855741660793628gmail-p1">
</p><p class="m_1607855741660793628gmail-p1">
</p><p class="m_1607855741660793628gmail-p1"> <span class="m_1607855741660793628gmail-s1"><c02</span><span class="m_1607855741660793628gmail-s2"> level</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"file"</span><span class="m_1607855741660793628gmail-s1">></span><br>
<span class="m_1607855741660793628gmail-s1"><did></span><br>
<span class="m_1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m_1607855741660793628gmail-s1"></unittitle></span><br>
<span class="m_1607855741660793628gmail-s1"><unitdate</span><span class="m_1607855741660793628gmail-s2"> normal</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"1905/1908"</span><span class="m_1607855741660793628gmail-s1">></span>1905-1908<span class="m_1607855741660793628gmail-s1"></<wbr>unitdate></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> label</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"box"</span><span class="m_1607855741660793628gmail-s2"> id</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s1">></span>1<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> parent</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"folder"</span><span class="m_1607855741660793628gmail-s1">></span>1.0<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"></did></span><br>
<span class="m_1607855741660793628gmail-s1"></c02></span></p><p class="m_1607855741660793628gmail-p1"><span class="m_1607855741660793628gmail-s1">
</span></p><p class="m_1607855741660793628gmail-p1"> <span class="m_1607855741660793628gmail-s1"><c02</span><span class="m_1607855741660793628gmail-s2"> level</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"file"</span><span class="m_1607855741660793628gmail-s1">></span><br>
<span class="m_1607855741660793628gmail-s1"><did></span><br>
<span class="m_1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m_1607855741660793628gmail-s1"></unittitle></span><br>
<span class="m_1607855741660793628gmail-s1"><unitdate</span><span class="m_1607855741660793628gmail-s2"> normal</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"1909"</span><span class="m_1607855741660793628gmail-s1">></span>1909<span class="m_1607855741660793628gmail-s1"></unitdate></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> label</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"box"</span><span class="m_1607855741660793628gmail-s2"> id</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s1">></span>1<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> parent</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"folder"</span><span class="m_1607855741660793628gmail-s1">></span>2.0<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"></did></span><br>
<span class="m_1607855741660793628gmail-s1"></c02></span></p><p class="m_1607855741660793628gmail-p1"><br>
<span class="m_1607855741660793628gmail-s1"><c02</span><span class="m_1607855741660793628gmail-s2"> level</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"file"</span><span class="m_1607855741660793628gmail-s1">></span><br>
<span class="m_1607855741660793628gmail-s1"><did></span><br>
<span class="m_1607855741660793628gmail-s1"><unittitle></span>Financial Records -- General -- Bound Volumes -- Financial Reports<span class="m_1607855741660793628gmail-s1"></unittitle></span><br>
<span class="m_1607855741660793628gmail-s1"><unitdate</span><span class="m_1607855741660793628gmail-s2"> normal</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"1910/1911"</span><span class="m_1607855741660793628gmail-s1">></span>1910-1911<span class="m_1607855741660793628gmail-s1"></<wbr>unitdate></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> label</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"Mixed materials (dsc_11781031089.1)"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"box"</span><span class="m_1607855741660793628gmail-s2"> id</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s1">></span>1<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"><container</span><span class="m_1607855741660793628gmail-s2"> parent</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"89.1"</span><span class="m_1607855741660793628gmail-s2"> type</span><span class="m_1607855741660793628gmail-s3">=</span><span class="m_1607855741660793628gmail-s4">"folder"</span><span class="m_1607855741660793628gmail-s1">></span>3.0<span class="m_1607855741660793628gmail-s1"></container></span><br>
<span class="m_1607855741660793628gmail-s1"></did></span><br>
<span class="m_1607855741660793628gmail-s1"></c02></span></p><p class="m_1607855741660793628gmail-p1"><span class="m_1607855741660793628gmail-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></p><p class="m_1607855741660793628gmail-p1"><br></p></div>-- <br><div class="m_1607855741660793628gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Bria L. Parker</font><div><font size="2" face="arial, helvetica, sans-serif">Metadata Librarian</font></div><div><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">2200 McKeldin Library<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">University of Maryland<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">College Park, MD 20742-7011<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif"><a href="tel:%28301%29%20405-9067" value="+13014059067" style="color:rgb(17,85,204)" target="_blank">(301) 405-9067</a><u></u><u></u></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><span style="color:rgb(5,99,193)"><a href="mailto:blparker@umd.edu" style="color:rgb(149,79,114)" target="_blank"><font size="2" face="arial, helvetica, sans-serif">blparker@umd.edu</font></a></span></p></div></div></div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Bria L. Parker</font><div><font size="2" face="arial, helvetica, sans-serif">Metadata Librarian</font></div><div><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">2200 McKeldin Library<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">University of Maryland<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">College Park, MD 20742-7011<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif"><a href="tel:%28301%29%20405-9067" value="+13014059067" style="color:rgb(17,85,204)" target="_blank">(301) 405-9067</a><u></u><u></u></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><span style="color:rgb(5,99,193)"><a href="mailto:blparker@umd.edu" style="color:rgb(149,79,114)" target="_blank"><font size="2" face="arial, helvetica, sans-serif">blparker@umd.edu</font></a></span></p></div></div></div></div></div>
</div>