You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After using the search page (e.g. drp.dataone.org/data) navigating to a dataset, then using the "< Back to search" button, the imagery layer does not load correctly. Similarly, navigating to the About page and back to the Search causes a layer error. A full page refresh is needed to re-load the layer.
To Reproduce
Steps to reproduce the behavior:
Go to drp.dataone.org/data or similar search page that uses Cesium map (perhaps just one that uses a Bing maps imagery layer
Click on a dataset
Click on "< Back to search"
See blue globe and imagery layers error in console
Expected behavior
The Bing Maps imagery should be displayed on the globe.
Screenshots
Desktop (please complete the following information):
OS: macOS
Browser: Firefox, Safari
Version: 114.0.2, 15.4
Additional context
Have not tried with other imagery layers. I suspect it's something to do with a one-time object or session going stale and being re-requested somehow, which gets fixed on full refresh because a new object/session is requested.
The text was updated successfully, but these errors were encountered:
This was a bug caused by the fact that we were directly modifying the cesiumOptions (config) object while setting up the imagery layer. I fixed all map asset models so that we're only working with clones of the cesiumOptions object while setting up layers. Good catch @iannesbitt! 🎉
Describe the bug
After using the search page (e.g. drp.dataone.org/data) navigating to a dataset, then using the "< Back to search" button, the imagery layer does not load correctly. Similarly, navigating to the About page and back to the Search causes a layer error. A full page refresh is needed to re-load the layer.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Bing Maps imagery should be displayed on the globe.
Screenshots
Desktop (please complete the following information):
Additional context
Have not tried with other imagery layers. I suspect it's something to do with a one-time object or session going stale and being re-requested somehow, which gets fixed on full refresh because a new object/session is requested.
The text was updated successfully, but these errors were encountered: