Open dmoreira-sbp opened 3 months ago
Hi! After researching a bit more with a local environment, I see that in the "_find" call in my local environment it gets several related objects in the results, but it doesn't happen in the production environment
Do any of you by chance have storeInSessionStorage turned on? I can reliably reproduce this only when it's on. It seems that with it enabled, the state data stored in location history, which is needed to add the visualization to the dashboard, doesn't survive the transition back to the dashboard page.
Describe the bug
In one of our OpenSearch environments, the "Add to Dashboards after saving" option doesn't seem to be working correctly.
To Reproduce Steps to reproduce the behavior:
It does work if you add it after the fact.
Expected behavior A clear and concise description of what you expected to happen.
OpenSearch Version 2.13.0 (AWS-Managed)
Dashboards Version 2.13.0 (Not-AWS managed. Running "opensearchproject/opensearch-dashboards:2.13.0" on AWS ECS
What I did notice is that in the GET request in which it tries to fetch the visualization id by name, it returns an empty list (adding screenshots)
Screenshots EDIT: I've just noticed that the request that you see in the screenshots might be the one that the dashboard does to check if there's already another visualization with the same name, so it might not apply
-f3d5ba04f224)