I’m having an issue where if I change views or pages too quickly I eventually cause the client to crash. I am using Chrome on a desktop in developer mode to see this, but it also crashes on the iPad app as well. I am using one of the latest nightly 8.0.9 builds (maybe from a week ago or so).
The issue seems to stem from these “Received updates for missing view” warnings in the Chrome console. If I switch views or pages too quickly I start getting a lot of these. If I wait for the page/view to fully load before clicking on a new navigation button the amount of warnings is very small and no issues seem to occur, however if I start pressing on navigation buttons quickly in succession then the client basically locks up and looks something like this.
The DevTools console in Chrome looks like this. First picture is before the client crashes - it’s just warnings, but the second picture shows the errors that occur when the client has crashed.
The errors turn into “Maximum call stack size exceeded” and “ui.ErrorBoundary”
For what it’s worth the issue seems easier to make happen on the iPad (using the app) or a Surface Tablet (using Chrome) compared to my more powerful laptop (using Chrome), but that may be somewhat subjective. Once it is locked up the only way to get out of it is to refresh the page in the browser or app.
At this point I don’t know if there is something we have designed poorly or wrong causing the issue, or if there is a memory/loading issue or bug in Perspective, but the issue is potentially problematic if put in front of an operator that starts pressing buttons quickly and doesn’t know what they are doing.
I don’t know if it’s related or not but in the gateway log I do see these warning messages as well. The timestamps, however, do not match with the errors in the DevTools Console of Chrome, so they didn’t happen at the same time.
I can provide more information regarding our project if necessary. Thanks!