Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the field exists in the index pattern before grabbing it #20639

Merged
merged 1 commit into from
Jul 13, 2018
Merged

Ensure the field exists in the index pattern before grabbing it #20639

merged 1 commit into from
Jul 13, 2018

Conversation

trevan
Copy link
Contributor

@trevan trevan commented Jul 10, 2018

I noticed that when I upgraded to 6.3, sometimes my filter bars were missing. After tracking it down, it looks like the filter bars were using old fields that have been removed from the index pattern.

Since Kibana already checks for the existence of the index pattern, I thought a simple check for the existence of the field would be nice as well. That way, the filter bar will still show up no matter if the index pattern or the field name is bad.

@elasticmachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@lukasolson
Copy link
Member

Jenkins, test this

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@elasticmachine
Copy link
Contributor

💔 Build Failed

@trevan
Copy link
Contributor Author

trevan commented Jul 11, 2018

It looks like the build failed because of the test that was disabled in #20637. I rebased against master to pick up the disable change.

@Bargs
Copy link
Contributor

Bargs commented Jul 11, 2018

jenkins, test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@Bargs Bargs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @trevan, I'll backport this to the 6.x branch as well.

@Bargs Bargs merged commit 107bfb9 into elastic:master Jul 13, 2018
yankouskia pushed a commit to yankouskia/kibana that referenced this pull request Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants