Werk #22132: Views: fix crash on single service views without a service context
| Component | User interface | ||||||
| Title | Views: fix crash on single service views without a service context | ||||||
| Date | Aug 18, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
When a view showing a single service was opened without a service in its
context, the whole page crashed with KeyError: service instead of rendering.
This could happen for example through a hand written or outdated bookmark, or a
link that lost its service parameter.
Such a view now renders again. Its breadcrumb ends at the host it belongs to, instead of trying to show a service level that has no service to name.