elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

IFrame issue when changing URL #190939

Open stefancoremans opened 3 weeks ago

stefancoremans commented 3 weeks ago

Kibana version: 8.15.0

Elasticsearch version: 8.15.0

Server OS version: Docker image

Browser version: Chrome

Browser OS version: N/A

Original install method (e.g. download page, yum, from source, etc.): N/A

Steps to reproduce:

  1. Create an application where kibana is hosted as an IFrame
  2. Make serveral selections on the different lenses
  3. Navigate to other dashboards via drilldown

When changing the IFrame pointing to another dashboard an error appears Error encountered while fetching unsaved changes: Cannot read properties of undefined (reading 'viewMode') Even if you would use Kibana (not in IFrame) you would get the error.

Any additional context: So far i found that removing the cookie dashboardPanels normalizes (solves) the issue

elasticmachine commented 2 weeks ago

Pinging @elastic/kibana-presentation (Team:Presentation)

tsullivan commented 2 weeks ago

I think the viewMode URL parameter is used and controlled by the Presentation team.