<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In case it helps anyone else, our issue was with the change to the default Solr query parameter in v2.8.0 (we were going to 2.8.1 from 2.7.1).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">The new default value:</span><br style="color:rgb(43, 46, 47);font-family:"Lucida Sans Unicode", "Lucida Grande", Tahoma, Verdana, sans-serif;font-size:14px;background-color:rgb(255, 255, 255)">
<span style="color: rgb(0, 0, 0); font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">AppConfig[:solr_params] = { 'mm' => '100%' }</span><br style="color:rgb(43, 46, 47);font-family:"Lucida Sans Unicode", "Lucida Grande", Tahoma, Verdana, sans-serif;font-size:14px;background-color:rgb(255, 255, 255)">
<br>
</div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 12pt; font-family: calibri, arial, helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Original
 value in 2.7.1:</span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255); display: inline !important; font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">AppConfig[:solr_params]
 = { "q.op" => "AND" }</span><br>
</span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color:rgb(255, 255, 255);display:inline !important"><br>
</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255); display: inline !important; font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">The
 'mm:100%' meant that when we had a query that OR'd a bunch of resources there would never be a record that had a 100% match on all of the criteria (one record couldn't have multiple IDs).</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color:rgb(255, 255, 255);display:inline !important"><br>
</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255); display: inline !important; font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Our
 understanding from <a href="https://urldefense.com/v3/__https://github.com/archivesspace/archivesspace/pull/1822__;!!HXCxUKc!ldN3U6NtcOocueWM76liwl7ZSJIP6agHL1Cj5kW74PFp4rEEl3iIERyAzn9mVVo$" title="https://urldefense.com/v3/__https://github.com/archivesspace/archivesspace/pull/1822__;!!HXCxUKc!ldN3U6NtcOocueWM76liwl7ZSJIP6agHL1Cj5kW74PFp4rEEl3iIERyAzn9mVVo$">
PR 1882</a> (thanks for this link Blake), is that it is only for custom reporting. Since we're not doing anything with this we are just changing solr_params back to what worked for us in 2.7.1 and the collection organization is now populating as expected.</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255); display: inline !important; font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color: rgb(255, 255, 255); display: inline !important; font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">-
 Megan</span></span></font></div>
<div style=""><font color="#2b2e2f" face="Lucida Sans Unicode, Lucida Grande, Tahoma, Verdana, sans-serif"><span style="font-size: 14px;"><span style="background-color:rgb(255, 255, 255);display:inline !important"><br>
</span></span></font></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Schanz, Megan
 <schanzme@msu.edu><br>
<b>Sent:</b> Thursday, December 3, 2020 10:00 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Collection Organization not populating on v2.8.1</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks Blake. Unfortunately that doesn't seem to be our problem. We've tried a full re-index twice and they both completed without errors. I went into Solr and queried a sample resource and one of its archival objects; and both returned completed records.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
- Megan</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Blake Carver
 <blake.carver@lyrasis.org><br>
<b>Sent:</b> Wednesday, December 2, 2020 3:53 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Collection Organization not populating on v2.8.1</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'm not sure what to make of that JavaScript stuff, it might be related, though hopefully that's not the real problem.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
When you upgraded to 2.8, did you start over with a totally empty /data/ directory? If not, I'd suggest doing a full reindex. I know that indexing troubles can make those tabs empty when they should have stuff. Maybe it's looping or just not done yet, or something
 is wrong somehow.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
So...</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
stop archivesspace</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
rm -rf /data/*</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
start archivesspace</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Let it run until the indexing is totally finished up, watch the logs for a loop and/or errors.</div>
<div>
<div id="x_x_Signature">
<div>
<div id="x_x_divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">
</div>
</div>
</div>
</div>
<div id="x_x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Schanz,
 Megan <schanzme@msu.edu><br>
<b>Sent:</b> Wednesday, December 2, 2020 8:24 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] Collection Organization not populating on v2.8.1</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Hi all,</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">We've recently started testing v2.8.1 and are stuck on an issue on the public interface side. On the Collection Organization tab of a resource (i.e. repositories/4/resources/6423/collection_organization),
 the left-side pane is empty; whereas with v2.7.2 it contained the collection objects as you would expect. The data is identical between our test instance and our production instance so we are able to compare both versions side-by-side. </div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
When inspecting the page on the browser, we can see the top level object still populates with the correct data-urls, but there are no child objects underneath it:</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><div class="waypoint populated" data-waypoint-number="0" data-waypoint-size="20" data-uris="/repositories/4/resources/6423;/repositories/4/archival_objects/571053;/repositories/4/archival_objects/571055;/repositories/4/archival_objects/571057;/repositories/4/archival_objects/571061;/repositories/4/archival_objects/571063;/repositories/4/archival_objects/571065;/repositories/4/archival_objects/571067;/repositories/4/archival_objects/571069">&nbsp;</div><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Furthermore, the console is reporting errors coming from the Javascript code:</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Uncaught TypeError: Cannot read property 'replace' of undefined
<div style="margin:0px">    at Object.r.uri_to_parts (largetree-6541a51b3fceaac15ebc7b1a7f5155d473ee5cc35f3b337cb0ac844dd66f0666.js:1)</div>
<div style="margin:0px">    at Object.r.uri_to_tree_id (largetree-6541a51b3fceaac15ebc7b1a7f5155d473ee5cc35f3b337cb0ac844dd66f0666.js:1)</div>
<div style="margin:0px">    at e (treesync-0bcad7c81eb2991851e7ba2552a688032d6a805079546b7cb3cec080e69ed223.js:1)</div>
<div style="margin:0px">    at treesync-0bcad7c81eb2991851e7ba2552a688032d6a805079546b7cb3cec080e69ed223.js:1</div>
<div style="margin:0px">Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined</div>
<div style="margin:0px">    at n (infinite_scroll-16451f8d2fd84b07c84998a7bc75e9bad2276ca21b383c7098a623163ab40c66.js:1)</div>
<div style="margin:0px">    at o.scrollToRecord (infinite_scroll-16451f8d2fd84b07c84998a7bc75e9bad2276ca21b383c7098a623163ab40c66.js:1)</div>
    at infinite_scroll-16451f8d2fd84b07c84998a7bc75e9bad2276ca21b383c7098a623163ab40c66.js:1<br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">No errors or warnings are being recorded in the logs on the server though.</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Has anyone else run into this issue or have ideas to further debug this?</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Thanks!</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)"><br>
</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Megan Schanz</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Developer and System Administrator</div>
<div style="margin:0px; font-size:12pt; background-color:rgb(255,255,255)">Michigan State University Libraries</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>