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

TSVB: Add validation support for legacy filter values #58436

Merged
merged 6 commits into from
Mar 3, 2020

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Feb 25, 2020

Fixes #58340

A filter in a series can also be an empty string because the migration didn't catch this specific case: https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/migrations/migrations.js#L253

Eventually we should run an additional migration for this, but for now let's just collect it in the validation so it won't get forgotten and fix all of these little problems in a single migration.

It also fixes gauge color and percentiles aggregation validation errors

@flash1293 flash1293 added Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix v7.7.0 v8.0.0 labels Feb 25, 2020
@flash1293 flash1293 marked this pull request as ready for review February 25, 2020 10:29
@flash1293 flash1293 added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Feb 25, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@mbondyra mbondyra left a comment

Choose a reason for hiding this comment

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

LGTM, tested on Chrome.

@mbondyra
Copy link
Contributor

mbondyra commented Mar 3, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@flash1293
Copy link
Contributor Author

Merging this, x-pack jests are not actually failing - this is a minor CI issue (more info here #59086)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.6.2 v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kibana 7.6.0 - [visTypeTimeseries] Request validation error / "filter" must be an object
5 participants