Select to view content in your preferred language

Adding Secured Layers at Runtime Can Crash Map Widget

78
0
Thursday
JeffreyThompson2
MVP Frequent Contributor

I recently upgraded to Experience Builder 1.19 and users are now reporting an issue where loading secured layers at runtime will crash the Map Widget. This appears to be directly related to the still unresolved issue from 1.14 where the user information from the Portal fails to load sometimes, as before the crash occurs I am also unable to use the Add Data Widget to access data from the Enterprise Portal. @JunshanLiu 

As a workaround for the old bug, I have taught my users to add secured layers via the Add Data Widget, instead of the Custom Widget they usually use. Unfortunately, loading from either Widget can cause a crash. 

JeffreyThompson2_0-1778780003335.png

After reaching this failure state, the application is unusable and unrecoverable and must be reloaded. Upon reloading however, the layers will load successfully, using either Widget, and the application will work as designed.

I am able to reliably trigger this state by clearing my browser cache and then attempting to add a secured layer.

I have also tested in 1.20 and am able to enter this crash state in the newer version as well. This is a major issue that may force me to revert back to 1.18. I already receive frequent user complaints about the previous version of this problem and this version is much worse. At a minimum, the Add Data Widget should fail gracefully without taking down the Map Widget as well.

GIS Developer
City of Arlington, Texas
0 Kudos
0 Replies