OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] Discover crashed when loading a saved search from saved object list in dashboards management
Describe the bug
Discover crashed when loading a saved search from saved object list in dashboards management.
To Reproduce Steps to reproduce the behavior:
- in Discover page, do a query search (or even without any change)
- Click on save icon beside query bar
- click save current query
- go to 'saved objects' of Dashboards management, search for the query saved above
- click on it to load it in discover
- 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.
VisBuilder missed save query logic as well. Will fix them together.
Sorry. Didn't have time to work on this. Will do it in 2.16.