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

[Dashboard] Clicking on edit on upgraded dashboard makes panel options menu go blank for visualize panels #197915

Open
bhavyarm opened this issue Oct 25, 2024 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@bhavyarm
Copy link
Contributor

Kibana version: 8.16.0 BC2/serverless main QA

Browser version: chrome latest

Browser OS version: OS X

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

Describe the bug: Clicking on edit on upgraded dashboard and then converting one the panels to lens and discarding the change in dashboard makes the panel options for visualize go blank(?)

I am attaching the saved object for the dashboard.
In this dashboard -> I clicked on edit -> clicked on convert to lens on "Logstash area chart" -> lens-> save and return to dashboard -> switch to view mode -> the panel options on all the visualize panels went blank.

Image

This is the error in browser console:

dashboardEnhanced.plugin.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'events')
    at flyout_edit_drilldown_FlyoutEditDrilldownAction.isCompatible (dashboardEnhanced.plugin.js:2:10782)
    at action_internal_ActionInternal.isCompatible (uiActions.plugin.js:1:11957)
    at uiActions.plugin.js:1:22522
    at Array.map (<anonymous>)
    at ui_actions_service_UiActionsService.getTriggerCompatibleActions (uiActions.plugin.js:1:22512)
    at presentationPanel.chunk.1.js:1:709
    at presentationPanel.chunk.1.js:1:775
    at presentationPanel.chunk.1.js:1:1144
    at Xc (kbn-ui-shared-deps-npm.dll.js:429:106131)
    at kbn-ui-shared-deps-npm.dll.js:437:3768

saved object export:
export_dashboard_6.8.ndjson.zip

@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants