Vega add filter integration errors with non-default index pattern #56833
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Filters
Feature:Vega
Vega visualizations
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
triage_needed
Kibana version: master
Elasticsearch version:
Server OS version:
Browser version:
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug: Using the
kibanaAddFilter
vega integration to set filters from within vega does not work correctly when the filter is applied to a field which isn't present in the default index pattern. This happens because the filter manager is looking up the field by name in the default index pattern and doesn't check for the case it is not available.Steps to reproduce:
Expected behavior:
Should not crash the filter bar
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: