EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08210
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Date: Thu, 18 Jun 2020 19:51:42 +0000
I’ve been trying to track down a problem with loading of download summary table visualization on abstract pages and I can’t seem to figure it out.
The problem only seems to appear in Google Chrome, on Firefox and Edge all is well. On Chrome, however, the graph visualizations don’t appear on the abstract pages, most of the time. Clicking on “Reload” will make it appear every now and again, so the issue is intermittent to some extent; but mostly the loader just keeps spinning and it doesn’t appear. I have tried to track down the issue, and as far as I see, the XHR call to getData works fine, and data is returned without problems, and passed to the correct functions. The problem appears right at this line: var data = "" google.visualization.DataTable(); So line 328 in this file:
https://github.com/eprints/irstats2/blob/74ce563ff855f7ba9702c4cd98532e95a17166a3/lib/static/_javascript_/auto/90_irstats2.js#L328
When I put a “Break” (in the debugger in the browser) on this line, I see that it is reached, and the retrieved data (about downloads) is there in the function, but the browser almost never comes back from this line and reaches no subsequent
break points. Sometimes it does come back, reaches the next line, and then stops, and then sometimes, it does keep going to the end and then the graph does display. I tried disabling the CoreRecommender, as there are some warnings in Chrome about SameSite settings/cookies on that (not sure what that is all about either), in case that was the cause, but it didn’t change anything. I also tried changing
how Google Charts / JSAPI is included/loaded, the version number of the library, but nothing seems to fix it. Any ideas? Do you display a chart of downloads on abstract pages, and is it working well in Chrome?
Tomasz ________________________________________________
Tomasz Neugebauer
Tel. / Tél. 514-848-2424 ext. / poste 7738
www.concordia.ca/faculty/tomasz-neugebauer.html
Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8
library.concordia.ca |
- Follow-Ups:
- [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- References:
- [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- Prev by Date: Re: [EP-tech] DSpace Harvester and OAI_Bibliography.pm
- Next by Date: Re: [EP-tech] Charts Visualization on IRStats - Abstract Pages - Chrome
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):