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 visualization upgraded from 7.5 shows empty dimension panels and broken series names #61939

Closed
flash1293 opened this issue Mar 31, 2020 · 3 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0

Comments

@flash1293
Copy link
Contributor

flash1293 commented Mar 31, 2020

Kibana version: 7.7.0 BC 1

Elasticsearch version: 7.7.0 BC 1

Describe the bug: When saving a Lens visualization in 7.5 and upgrading to 7.7, some visualizations show weird behavior - series labels in XY charts contain a uuid and empty dimension panels are rendered.

Steps to reproduce:

  1. Open Lens in 7.5
  2. Create an xy chart with date histogram on the x axis and a split series by terms with count on the y axis and save
  3. Create an xy chart with date histogram on the x axis and count on the y axis and save
  4. Upgrade to 7.7
  5. Open the visualization
  6. Series labels contain a uuid and empty dimension panels are rendered.

Expected behavior:
Should look like in 7.5

Screenshots (if relevant):
Screenshot 2020-03-30 at 15 23 27
Screenshot 2020-03-30 at 15 38 34

Errors in browser console (if relevant):

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

Any additional context:
Saved objects after migration:
https://gist.github.com/flash1293/c0be2cb3af95ebef188e9dbfcd8d86eb
https://gist.github.com/flash1293/6744332aa404e16ebcd3932067048c71

@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 31, 2020
@elasticmachine
Copy link
Contributor

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

@wylieconlon
Copy link
Contributor

I think I know what's happening here, and I think it's because I removed a check in the renderer. The check previously tested whether the datasource was aware of the columnId, and if it's missing then it gets removed from the configuration. This is on me to fix.

@wylieconlon
Copy link
Contributor

Fixed by #62877 for 7.7, working on a separate change for 7.8 and master: #62879

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 v7.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants