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

Changing sibling pipeline aggregation throws browser console error #91689

Closed
nicknickel opened this issue Feb 17, 2021 · 2 comments
Closed

Changing sibling pipeline aggregation throws browser console error #91689

nicknickel opened this issue Feb 17, 2021 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Search Querying infrastructure in Kibana impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:medium Medium Level of Effort

Comments

@nicknickel
Copy link

Kibana version: v 7.9.3

Elasticsearch version: v 7.9.3

Server OS version: docker.elastic.co docker container

Browser version: Chrome and Firefox

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): docker pull

Describe the bug:

Steps to reproduce:

  1. Create a Data Table visualization
  2. Create a Sibling Pipeline Aggregation metric
  3. Attempt to change the bucket Aggregation type to Histogram
  4. Histogram will not be highlighted but not selected and browser console error will be thrown

Expected behavior: Histogram will be selected

Screenshots (if relevant):
image

Errors in browser console (if relevant):

kbn-ui-shared-deps.js:422 Uncaught Error: Saved "field" parameter is now invalid. Please select a new field.
    at FieldParamType._this.deserialize (data.plugin.js:9)
    at data.plugin.js:9
    at Array.forEach (<anonymous>)
    at AggConfig.setParams (data.plugin.js:9)
    at new AggConfig (data.plugin.js:9)
    at AggConfigs.createAggConfig (data.plugin.js:9)
    at AggParamType.makeAgg (data.plugin.js:9)
    at 2.plugin.js:1
    at 2.plugin.js:1
    at 2.plugin.js:1

Any additional context: A workaround is to select the Filters aggregation. You can then select the Histogram aggregation.

@nicknickel nicknickel added the bug Fixes for quality problems that affect the customer experience label Feb 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@ppisljar ppisljar added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:medium Medium Level of Effort Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Search Querying infrastructure in Kibana labels Apr 29, 2021
@ppisljar
Copy link
Member

ppisljar commented May 3, 2021

this has been fixed as a side effect of #94798

@ppisljar ppisljar closed this as completed May 3, 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:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Search Querying infrastructure in Kibana impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:medium Medium Level of Effort
Projects
None yet
Development

No branches or pull requests

4 participants