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

Visualize: Upgrading vis with pipeline agg from 6.8 doesn't render #93026

Closed
flash1293 opened this issue Mar 1, 2021 · 1 comment · Fixed by #93427
Closed

Visualize: Upgrading vis with pipeline agg from 6.8 doesn't render #93026

flash1293 opened this issue Mar 1, 2021 · 1 comment · Fixed by #93427
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

Kibana version: 7.12 BC2

Describe the bug: Upgrading from 6.8 with visualizations using pipeline aggs in any way or importing visualizations from 6.8 results in rendering a blank visualization with an error in the console

Steps to reproduce:

  1. Spin up 6.8 and configure a visualization using a pipeline agg (e.g. area chart with time x axis and moving avg on y axis)
  2. Upgrade to 7.12 BC2
  3. Open visualization
  4. Empty vis rendered

Expected behavior:
Visualization should be rendered fine

Errors in browser console (if relevant):

Uncaught (in promise) Error: Objects must have a type property
    at getType (expressions.plugin.js:1)
    at getArgumentString (expressions.plugin.js:6)
    at expressions.plugin.js:6
    at Array.reduce (<anonymous>)
    at expressions.plugin.js:6
    at Array.map (<anonymous>)
    at getExpressionArgs (expressions.plugin.js:6)
    at Array.<anonymous> (expressions.plugin.js:6)
    at Array.map (<anonymous>)
    at getExpression (expressions.plugin.js:6)

Any additional context:
You can also use this export I used for testing: https://gist.github.com/flash1293/ba8a4cf238e16942d68161f1fee41541

Upgrade from 7.11 works fine AFAICT

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

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

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 Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants