-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Kibana version:
master
Browser OS version:
Chrome
Describe the bug:
When setting a filter on a visualization in visualize then using the browser back and forward buttons, the filter will be added and removed but the data will remain unchanged until the refresh button is pressed.
This bug affects vis_type_vislib, vis_type_tagcloud and possibly others.
Steps to reproduce:
- Go to a tag cloud visualization from any sample dataset
- Add a filter
- Notice the data and visualization is updated
- Click the browser back button, then the forward button
- Notice the visualization is unchanged by the filter being added and removed.
- Clicking the kibana refresh button on the next state, correctly updates the data.
The behavior is a little flaky, sometime it works correctly on the first back but not all the subsequent forwards and backwards.
Expected behavior:
Filter should update the data passed to the visualization
Errors in browser console (if relevant):
N/A
Any additional context:
After inspecting vislib, the data that is passed to the toExpressionAst function from esaggs is not being updated and using the previous data.
