[Archivesspace_Users_Group] Trouble Loading Collection Organization Tab

Blake Carver blake.carver at lyrasis.org
Tue Jul 13 16:56:41 EDT 2021


Is there anything in the logs that has ERROR or FATAL in it?
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Bennett Poulin <bpoulin at unm.edu>
Sent: Tuesday, July 13, 2021 3:50 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Trouble Loading Collection Organization Tab


Hello Everyone,

We have come to a roadblock in debugging an issue we are having.

The problem:

We seem to be having trouble with some of our records not loading completely on the collection organization tab. The problem seems to only occur with certain resolutions and edge cases. The only way we can consistently reproduce the problem is to have the dev tools console open, but it does happen sometimes on regular page loads.

Steps to Reproduce:

  1.  Navigate to a known affected page: https://nmarchives.unm.edu/repositories/22/resources/2204/collection_organization
  2.  Open the console F12 (Firefox, Chrome, Edge)
  3.  Scroll down the Collection Organization until it stops loading further and errors are produced

Relevant Information:

  *   Edge and Chrome produce the following console errors
     *   application-d931c7796d2a9940ff4967478207ddb3d3d86faa90b8163d2058ce9413ad0d27.js:2 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
        *   preventDefault @ application-d931c7796d2a9940ff4967478207ddb3d3d86faa90b8163d2058ce9413ad0d27.js:2
        *   (anonymous) @ infinite_scroll-16451f8d2fd84b07c84998a7bc75e9bad2276ca21b383c7098a623163ab40c66.js:1
        *   dispatch @ application-d931c7796d2a9940ff4967478207ddb3d3d86faa90b8163d2058ce9413ad0d27.js:2
        *   g.handle @ application-d931c7796d2a9940ff4967478207ddb3d3d86faa90b8163d2058ce9413ad0d27.js:2
     *   GET https://nmarchives.unm.edu/repositories/22/resources/2204/tree/node?node=%2Frepositories%2F22%2Farchival_objects%2F259267 404 (Not Found)
  *   ArchivesSpace Version: 2.8.1

Logs:

Jul 13, 2021 12:50:00 PM org.apache.solr.core.SolrCore execute

INFO: [collection1] webapp= path=/select params={mm=100%25&q=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259261"))&csv.escape=\&csv.header=true&start=0&csv.encapsulator="&fq=-exclude_by_default:true&fq=publish:true&fq=types:pui&rows=1&wt=json&facet=true} hits=0 status=0 QTime=2

Jul 13, 2021 12:50:00 PM org.apache.solr.update.processor.LogUpdateProcessor finish

INFO: [collection1] webapp= path=/update params={} {deleteByQuery=parent_id:("/repositories/22/archival_objects/185733")} 0 1

Jul 13, 2021 12:50:00 PM org.apache.solr.update.processor.LogUpdateProcessor finish

INFO: [collection1] webapp= path=/update params={} {add=[/repositories/22/archival_objects/185733]} 0 1

Jul 13, 2021 12:50:00 PM org.apache.solr.update.DirectUpdateHandler2 commit

INFO: start commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false}

Jul 13, 2021 12:50:00 PM org.apache.solr.search.SolrIndexSearcher <init>

INFO: Opening Searcher at 1151478f[collection1] main

Jul 13, 2021 12:50:00 PM org.apache.solr.update.DirectUpdateHandler2 commit

INFO: end_commit_flush

Jul 13, 2021 12:50:00 PM org.apache.solr.core.SolrCore registerSearcher

INFO: [collection1] Registered new searcher Searcher at 1151478f[collection1] main{StandardDirectoryReader(segments_24py:649922:nrt _nr(4.10.4):C219913/46272:delGen=474 _11f(4.10.4):C425538/52164:delGen=678 _3ph(4.10.4):C359151/35922:delGen=550 _2o2(4.10.4):C85704/12221:delGen=96 _jqw(4.10.4):C82274/20242:delGen=170 _3u8(4.10.4):C96489/15326:delGen=127 _12w0(4.10.4):C121374/13239:delGen=109 _3898(4.10.4):C59987/20078:delGen=481 _1n6j(4.10.4):C47632/3396:delGen=26 _3sgm(4.10.4):C23740/10497:delGen=98 _4m19(4.10.4):C44854/4334:delGen=106 _4m2g(4.10.4):C2285/8:delGen=4 _4mgz(4.10.4):C3706/570:delGen=30 _4mfy(4.10.4):C501/2:delGen=2 _4mlp(4.10.4):C2214/438:delGen=3 _4mkp(4.10.4):C260 _4mn1(4.10.4):C25/3:delGen=1 _4mnw(4.10.4):C16/2:delGen=1 _4mnv(4.10.4):C3/1:delGen=1 _4mnz(4.10.4):C2/1:delGen=1 _4mo3(4.10.4):C21 _4mo4(4.10.4):C1 _4mo5(4.10.4):C31 _4mo6(4.10.4):C21/1 _4mo7(4.10.4):C488 _4mo8(4.10.4):C1)}

Jul 13, 2021 12:50:00 PM org.apache.solr.update.processor.LogUpdateProcessor finish

INFO: [collection1] webapp= path=/update params={} {commit=} 0 95

Jul 13, 2021 12:50:01 PM org.apache.solr.core.SolrCore execute

INFO: [collection1] webapp= path=/select params={mm=100%25&q=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259262"))&csv.escape=\&csv.header=true&start=0&csv.encapsulator="&fq=-exclude_by_default:true&fq=publish:true&fq=types:pui&rows=1&wt=json&facet=true} hits=1 status=0 QTime=29

Specific Log-Entry:

Jul 13, 2021 1:08:50 PM org.apache.solr.core.SolrCore execute

INFO: [collection1] webapp= path=/select params={mm=100%25&q=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259268"))&csv.escape=\&csv.header=true&start=0&csv.encapsulator="&fq=-exclude_by_default:true&fq=publish:true&fq=types:pui&rows=1&wt=json&facet=true} hits=0 status=0 QTime=29



Current Guesses:

  1.  Something about how browsers use the preventDefault method used by infinite scroll has changed its behavior, and thus broken the feature.
  2.  The API endpoint<https://archivesspace.github.io/archivesspace/api/#get-a-classification-tree> [:GET] /repositories/:repo_id/classifications/:id/tree used by this feature has been deprecated, causing the 404 error.



Any help would be greatly appreciated.

Thank you very much,

Bennett


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210713/4231ad84/attachment.html>


More information about the Archivesspace_Users_Group mailing list