elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.5k stars 8.05k forks source link

Collapse Feature Error in Lens Metrics on Kibana 8.13.3 #182628

Open behnam-ramouzeh opened 2 months ago

behnam-ramouzeh commented 2 months ago

Kibana version: 8.13.3

Elasticsearch version: 8.13.3

Server OS version: Windows 11

Describe the bug: After upgrading from Kibana version 8.6.1 to 8.13.3, the collapse feature in Lens metrics returns an error when there is no data available. The error message displayed is "C.current[0] is undefined." This issue did not occur in the previous version.

Steps to reproduce:

Expected behavior: The visualization should handle the absence of data gracefully without throwing an error, similar to the behavior in version 8.6.1.

Screenshots: image

image

image

elasticmachine commented 2 months ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

markov00 commented 2 months ago

Thank you for this, is definitely a regression coming from https://github.com/elastic/kibana/pull/168651. I can reproduce it locally.