Tree view infinite loading

59 views
Skip to first unread message

Steve Lapommeray

unread,
Jun 3, 2022, 12:08:05 PM6/3/22
to AtoM Users
Hello,

I am seeing an infinite "Loading..." message with the spinning animation for a specific record in tree view. This does not affect all records, but happens to one in particular. I do not see any errors related to this in the nginx error logs. Do you have any suggestions as to how to troubleshoot this or what the cause could be?

Thanks,
Steve

Steve Lapommeray

unread,
Jun 3, 2022, 12:09:45 PM6/3/22
to AtoM Users
Some additional info: This only occurs when not logged in. If I log in, the tree view loads correctly. The AtoM version is 2.6.4 - 184.

Dan Gillean

unread,
Jun 3, 2022, 3:30:36 PM6/3/22
to ICA-AtoM Users
Hi Steve, 

I've got a couple initial suggestions for you to investigate. 

This only occurs when not logged in. If I log in, the tree view loads correctly

This makes me think there might be publication status inheritance issues at play - for example, a series-level record set to Draft, but a child file-level description that is published. I would check the related archival unit for any such issues, and/or reset the publication status at the top level, so it will inherit down the entire hierarchy. 

Similarly, if you have any custom user or group view permissions in place, especially for the anonymous user group (i.e. public users), then it's possible these are configured in some way that could cause a conflict - though this seems like a less likely option to me. 

Another possibility is that the nested set has become corrupt. We use a Nested set model to help maintain hierarchical relationships in the relatively flat, table-based structure of a relational database. Sometimes when long-running operations time out before completing, the nested set can become corrupt. There's a command-line task you can to rebuild this - see: 
Does this particular record have a lot of descendants nested below it? If yes, how many? It's possible if this is a very large number, that available memory is being exhausted before the tree fully loads. Check your webserver error logs to see if there's any additional information, and/or try repeating the action after enabling Debug mode: 
Additionally, what is your setting for the Items Per Page in the full-width treeview settings? Does anything change if you try increasing this value (up to a max of 10,000)? See: 
Finally, it can always help to ensure that you're not viewing a cached version of a page that may no longer be up to date. You can try clearing the application cache and restarting PHP-FPM before retesting - see: 
Don't forget that your web browser also has its own cache - try clearing this as well, or else testing in an incognito / private browser window, where the browser cache is typically disabled by default. 

Let us know how it goes, and what you find!

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/397e2ac0-fe30-4b2e-9aff-355a94b8056en%40googlegroups.com.

Steve Lapommeray

unread,
Jun 9, 2022, 4:52:46 PM6/9/22
to AtoM Users
Hi Dan,

It was indeed an inheritance issue. All of the higher-level records were marked as Draft. When they were set to Published, the record appeared when not logged in.

Thanks!
Steve

Reply all
Reply to author
Forward
0 new messages