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] Show Elasticsearch error in workspace #94425

Closed
flash1293 opened this issue Mar 11, 2021 · 2 comments · Fixed by #94606
Closed

[Lens] Show Elasticsearch error in workspace #94425

flash1293 opened this issue Mar 11, 2021 · 2 comments · Fixed by #94606
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

Kibana version: master

Describe the bug: Elasticsearch errors are not correctly propagated to the workspace panel. Instead, a generic EsError is shown

Steps to reproduce:

  1. Go to Lens data table
  2. Configure a configuration that will produce too many buckets
  3. Generic error is shown

Expected behavior:
ES error message should be shown

Screenshots (if relevant):
Screenshot 2021-03-11 at 14 32 46
Screenshot 2021-03-11 at 14 32 51

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
I'm not 100% sure whether this specific error worked, but in #79831 I definitely fixes this for some kinds of errors and it looks like they broke again (I spot-checked the scripted fields problem and it definitely regressed)

When we fix this, we should add a functional test for it.

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Mar 11, 2021
@elasticmachine
Copy link
Contributor

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

@wylieconlon
Copy link
Contributor

This is probably related to a change in the wrapper format due to async search/background search sessions.

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.

3 participants