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] It is possible to skip Lens enforced esaggs limits via dashboard #90594

Closed
dej611 opened this issue Feb 8, 2021 · 1 comment · Fixed by #90668
Closed

[Lens] It is possible to skip Lens enforced esaggs limits via dashboard #90594

dej611 opened this issue Feb 8, 2021 · 1 comment · Fixed by #90668
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Feb 8, 2021

Kibana version: 7.11

Describe the bug:

On the Lens editor calculation operations are limited to work only for date histograms, and in case this requirement is not met an error is shown on the chart are to explain the problem.

Saving the chart in this erroring state and loading it into dashboard makes the es aggs work anyway, bypassing the Lens limits.

Steps to reproduce:

  1. Create dashboard
  2. Create a Lens panel
  3. Add a time field to the Horizontal axis to create a date histogram
  4. Create a Moving average for the Vertical axis
  5. Remove the Horizontal axis field now and an error will appear
  6. Click Save and return on the top right

validation_skip_with_dashboard

Expected behavior:

Some sort of error should be shown (either the same as in the Lens editor - see #86278 - or even a generic error)

@dej611 dej611 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens :KibanaApp/fix-it-week labels Feb 8, 2021
@elasticmachine
Copy link
Contributor

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

@dej611 dej611 linked a pull request Feb 9, 2021 that will close this issue
2 tasks
@dej611 dej611 self-assigned this Feb 9, 2021
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.

2 participants