Skip to content

Error when trying to save a visualization from Discover #230054

@miguel-sanchez-elastic

Description

@miguel-sanchez-elastic

Kibana version: Serverless

Browser version: Chrome

Describe the bug: In Discover ES|QL mode, when you try to save a chart you get an error and it doesn't allow you to save it

Error: Cannot read properties of null (reading 'managed')
    at https://kibana.estccdn.com/f4fd93893328/bundles/plugin/presentationUtil/1.0.0/presentationUtil.chunk.149.js:1:2795
    at Array.filter (<anonymous>)
    at https://kibana.estccdn.com/f4fd93893328/bundles/plugin/presentationUtil/1.0.0/presentationUtil.chunk.149.js:1:2781
    at Pl (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:97499)
    at tc (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:120181)
    at Fu (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:111187)
    at ii (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:48468)
    at Pu (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:108186)
    at Ms (https://kibana.estccdn.com/f4fd93893328/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:375:70026)
    at https://kibana.estccdn.com/f4fd93893328/bundles/plugin/presentationUtil/1.0.0/presentationUtil.chunk.149.js:1:2726

Steps to reproduce:

  1. Go to Discover ES|QL mode
  2. Run a query that gets you a visulization
  3. Click on the save button on the top right area of the chart
  4. The error appears

Expected behavior: The UI where you can add details about your visualization and the dashboard where you want to save it appears

Screenshots (if relevant):

Screen.Recording.2025-07-31.at.11.47.50.mov

Metadata

Metadata

Assignees

Labels

Team:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions