Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't search with slow getConfig response (or slow bandwidth) #190

Open
Gaetanbrl opened this issue Jul 18, 2024 · 0 comments
Open

Can't search with slow getConfig response (or slow bandwidth) #190

Gaetanbrl opened this issue Jul 18, 2024 · 0 comments

Comments

@Gaetanbrl
Copy link

Gaetanbrl commented Jul 18, 2024

Description

In some cases, Cadastrapp seems not correctly loaded and URL's values are not available (as not configured).

If not correctly loaded, we get console error and (sometime) an error tooltip :

'Url' must be a string not undefined

image

So, i think in some cases, mapstore plugin load states (on SETUP) before getConfiguration response and URL's are not available (Url must be a string not undefined).

Steps to reproduce

This behavior can be easily reproduce with a poor bandwhidth.
We reproduce every time here (https://dev.geo2france.fr) with a "slow" /getConfig response (takes ~150ms).

To reproduces, you can try this with the Craig IDS :

  1. All works fine here
  1. Force error

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant