geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
487 stars 383 forks source link

Crash on "Loading" when add/change parameters in URL #8692

Open jusabatier opened 1 year ago

jusabatier commented 1 year ago

Description

I just upgraded to 2022.02.00-RC2-geOrchestra which add the 'Simplifying query parameters' functions.

I tested it, but each time I add/change query params in URL, the first load stay in 'Loading' state, and I have to refresh to load it correctly.

How to reproduce

Here is an example on our platform :

Expected Result Load the map at the first attempt, without having to refresh it

Current Result Need to refresh tha page if adding or change URL parameters

tdipisa commented 1 year ago

@jusabatier

Thank you so much for reporting this. This issue is there from the first implementation of the app contexts, most likely. It is related to how contexts handle the URL changes and restore feedback mask visibility. It is not something introduced by #8597. It was happening even before, like in the last release and also for params not touched by #8597:

https://mapstore.geosolutionsgroup.com/mapstore/#/context/newyorkcity?center=-106.458,45.699&zoom=5

Anyway, thank you for opening the issue. We will try to schedule a fix as soon as possible for next releases.