Cannot read properties of undefined (reading 'show') on Observability > Overview when certain capabilities are disabled #138213
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Observability
Team label for Observability Team (for things that are handled across all of observability)
Kibana version: 8.2.2
Elasticsearch version: 8.2.2
Server OS version: Ubuntu 20.04.4 LTS
Browser version: Chrome 102.0.5005.63
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.):
Using the official Docker image for Kibana, tag 8.2.2.
Describe the bug:
The Observability > Overview page crashes with the following JS error when APM (or another capability) is disabled:
Steps to reproduce:
Expected behavior:
The page should still work if APM is disabled/removed.
Screenshots (if relevant):
Errors in browser console (if relevant): See screenshot above.
Provide logs and/or server output (if relevant):
Any additional context:
It seems the logic that checks the capabilities assumes that each capability exists in the list of fetched capabilities when checking its
show
property. It does not account for one of those capabilities missing.The logic in question:
The text was updated successfully, but these errors were encountered: