<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);">
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="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">
</div>
</div>
</div>
</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> 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"> </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>
</body>
</html>