Without any code changes, the contents of the Layers widget, my layer tree hierarchy, loads sometimes, and other times does not load.
It usually works on the first load of the page, then may fail to load on refreshes. Clearing the cache seems like it helps sometimes.
The behavior is so inconsistent, it is really difficult to diagnose.
It is an internal application, so I can’t share.
Has this ever been encountered before?