-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Symptom
Often, when opening Dashboard or Discover, the user will be greeted with an intrusive warning.
Cause
This happens when Kibana clusters turn on the Store URLs in session storage switch to lower the size of their URLs. Unfortunately, this setting causes problems when opening a URL from Kibana in a new tab - as the mechanism is unable to map the session storage ID in the URL to state in the session storage. This is because session storage is stored locally to the browser, on a per-tab basis.
To reproduce:
- Turn on the
Store URLs in session storageadvanced setting - Refresh the page and navigate around until you see it begin to take effect. (Your URL will have
h@{someId}inside it) - Copy that URL
- Open a new tab and paste that URL.
Fix
We should silence these errors. The missing state is usually not extremely important, and if the users want the state they can always disable the setting. We should also update the text of the advanced setting to warn that copy pasting URLs with this setting on will not always result in an exact reproduction of the page as viewed.