OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] Discover crashed when loading a saved search from saved object list in dashboards management

Open mengweieric opened this issue 1 year ago • 1 comments

Describe the bug

Discover crashed when loading a saved search from saved object list in dashboards management.

To Reproduce Steps to reproduce the behavior:

  1. in Discover page, do a query search (or even without any change)
  2. Click on save icon beside query bar
  3. click save current query
  4. go to 'saved objects' of Dashboards management, search for the query saved above
  5. click on it to load it in discover
  6. Discover page crashed

Expected behavior Discover should load the saved search correctly.

OpenSearch Version 2.11.0

Dashboards Version 2.11.0

Plugins

N/A

Screenshots

https://github.com/opensearch-project/OpenSearch-Dashboards/assets/80358241/d8807fcb-d69b-4376-abf2-b7bf6761613d

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

mengweieric avatar Feb 24 '24 01:02 mengweieric

VisBuilder missed save query logic as well. Will fix them together.

ananzh avatar Feb 26 '24 17:02 ananzh

Sorry. Didn't have time to work on this. Will do it in 2.16.

ananzh avatar Jun 07 '24 15:06 ananzh