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] Weird layers behaviour when visualization type is changed for one of them #133933

Closed
jughosta opened this issue Jun 8, 2022 · 2 comments · Fixed by #134051
Closed

[Lens] Weird layers behaviour when visualization type is changed for one of them #133933

jughosta opened this issue Jun 8, 2022 · 2 comments · Fixed by #134051
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@jughosta
Copy link
Contributor

jughosta commented Jun 8, 2022

Kibana version: 8.3

Describe the bug:

  1. When there are several layers added including a Reference layer and user changes vis type for a Visualization layer (for example from Bar Chart to Line), the Reference layer gets replaced with a clone of the edited visualization layer.
  2. If user deletes the edited layer, 2 layers will be deleted.

Steps to reproduce:

  1. Create a vis with @timestamp field from logs sample data
  2. Add a Reference layer
  3. Add another Visualization layer
  4. Notice that all 3 layers are rendered
  5. Change visualization type for the 3rd layer to Line for example
  6. Notice that both the former Reference layer and the 3rd Visualization layer now have Line type but the Line graph is not rendered <= expected: only the 3rd layer type changed and graph is rendered properly
  7. Delete the 3rd layer
  8. Now they both are not present <= expected: only the 3rd layer is deleted

Screenshots (if relevant):

Editing:
Jun-08-2022 19-32-51

Deleting right after editing:
Jun-08-2022 19-32-58

@jughosta jughosta added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jun 8, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@flash1293 flash1293 added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Jun 9, 2022
@mbondyra
Copy link
Contributor

mbondyra commented Jun 9, 2022

Caused by [b29b468] [XY] xyVis and layeredXyVis. (#128255)

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 impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants