[Archivesspace_Users_Group] Print to PDF: Works via staff interface; does not work via public interface

2021-07-13 Thread Mark Cyzyk


Dear ASpace list,

We have a resource record that prints to PDF just fine via the Staff 
Interface, but results in error when attempting to print via the Public 
interface:


https://aspace.library.jhu.edu/repositories/3/resources/454

I am not finding any errors in the logs on this.

I have exported as EAD (and have attached the file).  Looks good to me 
(although I will note that record initially entered out ASpace via a 
migration from Archivists Toolkit).


Does anyone know why a particular record might print fine from within 
the Staff interface, yet not print from the Public interface?


(Our ASpace is running on Linux/CentOS...)

Thanks,

Mark

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcy...@jhu.edu

Verba volant, scripta manent.


http://www.w3.org/1999/xlink; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd;>MS.0459COMSAT Corporation collection MS.0459Special CollectionsThe Sheridan LibrariesSpecial Collections3400 N Charles St Baltimore, MD 21218specialcollecti...@lists.jhu.eduURL: https://www.library.jhu.edu/library-departments/special-collections/; xlink:show="new" xlink:title="https://www.library.jhu.edu/library-departments/special-collections/; xlink:type="simple"/>This finding aid was produced using ArchivesSpace on 2021-07-13 16:50:12 -0400.Finding aid written in English
  

  Special Collections

COMSAT Corporation collection

  http://viaf.org/viaf/149231113; source="viaf">COMSAT Corporation

MS.0459
421

  62.5 Cubic Feet
  50 record center cartons

1960s-1980s

  English
.
  
  
Scope and Contents
Because this is an artificial collection, formed largely by materials gathered by members of the COMSAT Legacy Foundation, it does not document all aspects of the corporation's history. It does, however, provide enough source material to be of particular interest to researchers in the areas of history of science and technology, telecommunications history, and business history. The early days of COMSAT are well represented through press clippings, copies of the required reports to the President and Congress, and a bound set of the documents related to the establishment of the corporation, and the first shareholders' meeting. Also, the historical series contains a number of early technical reports. The bulk of the collection consists of publications, for both internal and external audiences; public relations material; files collected to document the history of COMSAT; and papers related to COMSAT executive, John McLucas. McLucas joined the company as president of Comsat General, later became president of COMSAT World Systems, and ended his career as an executive vice president of COMSAT. There is also a significant collection of visual materials?16 millimeter films, videotapes, and U-Matic tapes?that record important events in COMSAT's history, including early satellite launches. Although most of the material relates to COMSAT, there are also records that document the activities of Comsat Labs, Comsat General, and the Marisat program, and with their international partners, Intelsat, Inmarsat, COMSAT Labs, Comsat General, and other subsidiaries. This material is found largely within the publications and public relations series.  
  
Provenance
The collection was donated to the university by the COMSAT Legacy Foundation between 2004 and 2005. The Foundation had received legal title to this material from Lockheed Martin, which had acquired COMSAT in 2000.  
  
Biographical Note
COMSAT (Communications Satellite Corporation) was formally established on February 1, 1963 as a result of the Communications Satellite Act of 1962, which charged COMSAT with responsibility for developing a commercial communications satellite system. As the language in the act stated:  it is the policy of the United States to establish in conjunction and in cooperation with other countries, as expeditiously as practicable, a commercial communications satellite system, as part of an improved global communications network, which will be responsive to public needs and national objectives, which will serve the communications needs of the United States and other countries, and which will contribute to world peace and understanding.  The previous year, ATT and NASA had successfully launched the Telstar satellite, which provided the link for the first transatlantic television broadcast. Although COMSAT was established to limit the likelihood of ATT monopolizing the satellite communications industry as it had the telecommunications industry, ATT nevertheless owned 29 percent of the company's stock and named three members to its board.COMSAT launched its first satellite, Early Bird, in 1965. Unlike Telstar, which flew in relatively low orbit, 

Re: [Archivesspace_Users_Group] Trouble Loading Collection Organization Tab

2021-07-13 Thread Blake Carver
Is there anything in the logs that has ERROR or FATAL in it?

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Bennett 
Poulin 
Sent: Tuesday, July 13, 2021 3:50 PM
To: Archivesspace Users Group 
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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259261"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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 

INFO: Opening Searcher@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@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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259262"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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 

Re: [Archivesspace_Users_Group] Trouble Loading Collection Organization Tab

2021-07-13 Thread Bennett Poulin
Hello Elizabeth,

Thank you very much!

Hello Blake,

Unfortunately no. The only fatal/error I could see in the logs today was 
related to a get route error. Someone trying to get to ‘/login’.
F, [2021-07-13T15:52:55.751484 #14289] FATAL -- : 
[53318c86-41dd-4598-b5b6-8f0063c66aae]
F, [2021-07-13T15:52:55.752055 #14289] FATAL -- : 
[53318c86-41dd-4598-b5b6-8f0063c66aae] ActionController::RoutingError (No route 
matches [GET] "/login"):
F, [2021-07-13T15:52:55.752260 #14289] FATAL -- : 
[53318c86-41dd-4598-b5b6-8f0063c66aae]
F, [2021-07-13T15:52:55.752527 #14289] FATAL -- : 
[53318c86-41dd-4598-b5b6-8f0063c66aae] actionpack (5.2.4.4) 
lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
But nothing else.

Thank you again,
Bennett

From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 On Behalf Of 
Elizabeth Russell
Sent: Tuesday, July 13, 2021 2:59 PM
To: Archivesspace Users Group 
Subject: Re: [Archivesspace_Users_Group] Trouble Loading Collection 
Organization Tab

  [EXTERNAL]
Yes - I'll send them tomorrow morning.

On Tue, Jul 13, 2021, 4:57 PM Blake Carver 
mailto:blake.car...@lyrasis.org>> wrote:
Is there anything in the logs that has ERROR or FATAL in it?

From: 
archivesspace_users_group-boun...@lyralists.lyrasis.org
 
mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>>
 on behalf of Bennett Poulin mailto:bpou...@unm.edu>>
Sent: Tuesday, July 13, 2021 3:50 PM
To: Archivesspace Users Group 
mailto:archivesspace_users_group@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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259261"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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 

INFO: Opening Searcher@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@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 

Re: [Archivesspace_Users_Group] Print to PDF: Works via staff interface; does not work via public interface

2021-07-13 Thread Joshua D. Shaw
The PUI and the staff side use different methods for generating the pdfs. The 
staff side goes EAD->PDF if I recall correctly, while the PUI is HTML->PDF.

I'd look for errors in the logs that should point you to the issue.

If I had to guess I'd say it might be an ampersand issue. Sometimes an 
ampersand will look like it's starting an html entity to the PUI generation and 
cause all sorts of havoc.

But definitely look at the logs for anything that has an ERROR or FATAL in the 
entry.

Joshua


From: archivesspace_users_group-boun...@lyralists.lyrasis.org 
 on behalf of Mark 
Cyzyk 
Sent: Tuesday, July 13, 2021 5:12 PM
To: Archivesspace Users Group 
Subject: [Archivesspace_Users_Group] Print to PDF: Works via staff interface; 
does not work via public interface


Dear ASpace list,

We have a resource record that prints to PDF just fine via the Staff
Interface, but results in error when attempting to print via the Public
interface:

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Faspace.library.jhu.edu%2Frepositories%2F3%2Fresources%2F454data=04%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C279fe841a39542679ab408d94642f146%7C995b093648d640e5a31ebf689ec9446f%7C0%7C1%7C637618075627534648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=rzT2AI6RBghMjNBIyUUqkaRETlBjJBNDsfjLx90us4w%3Dreserved=0

I am not finding any errors in the logs on this.

I have exported as EAD (and have attached the file).  Looks good to me
(although I will note that record initially entered out ASpace via a
migration from Archivists Toolkit).

Does anyone know why a particular record might print fine from within
the Staff interface, yet not print from the Public interface?

(Our ASpace is running on Linux/CentOS...)

Thanks,

Mark

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcy...@jhu.edu

Verba volant, scripta manent.

___
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


Re: [Archivesspace_Users_Group] Trouble Loading Collection Organization Tab

2021-07-13 Thread Elizabeth Russell
Yes - I'll send them tomorrow morning.

On Tue, Jul 13, 2021, 4:57 PM Blake Carver  wrote:

> Is there anything in the logs that has ERROR or FATAL in it?
> --
> *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org <
> archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of
> Bennett Poulin 
> *Sent:* Tuesday, July 13, 2021 3:50 PM
> *To:* Archivesspace Users Group <
> archivesspace_users_group@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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259261"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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 *
>
> *INFO: Opening Searcher@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@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
> 

[Archivesspace_Users_Group] Trouble Loading Collection Organization Tab

2021-07-13 Thread Bennett Poulin
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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259261"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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 
INFO: Opening Searcher@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@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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259262"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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=(uri:("\/repositories\/22\/resources\/2204\/tree\/node_\/repositories\/22\/archival_objects\/259268"))=\=true=0="=-exclude_by_default:true=publish:true=types:pui=1=json=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
 [:GET] /repositories/:repo_id/classifications/:id/tree used by