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

[Lens] Error message for missing fields is not bubbled up from dimension level #88786

Closed
wylieconlon opened this issue Jan 20, 2021 · 3 comments · Fixed by #88840
Closed

[Lens] Error message for missing fields is not bubbled up from dimension level #88786

wylieconlon opened this issue Jan 20, 2021 · 3 comments · Fixed by #88840
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

wylieconlon commented Jan 20, 2021

I think this is a regression on master, but it's also possible that this never behaved the way I remember. I was testing out some of the new Metricbeat 7.11 dashboards that include Lens visualizations, and found this one:

Screen Shot 2021-01-19 at 8 08 27 PM

As you can see, we are getting an error message from esaggs instead of an error from the dimension level. It would be better to have a human-readable error instead.

Steps to reproduce:

  1. Create an index mapping that contains a field, but don't add any documents
  2. Use the empty field in a Lens visualization
  3. Delete the field from the index mapping
  4. Load the Lens visualization
@wylieconlon wylieconlon added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jan 20, 2021
@elasticmachine
Copy link
Contributor

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

@flash1293
Copy link
Contributor

Pretty sure this is a regression - did you test on the 7.11 BC or on master @wylieconlon ?

@wylieconlon
Copy link
Contributor Author

wylieconlon commented Jan 20, 2021

This is on master, not tested in 7.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants