Werk #22201: Reports: graph elements from older reports no longer crash the report
| Component | Reporting & availability | ||||
| Title | Reports: graph elements from older reports no longer crash the report | ||||
| Date | Sep 14, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Viewing a report whose graph element referred to a host and service could replace the report with a crash report:
TypeError: string indices must be integers, not 'str'
Reports store the host and service a graph element refers to. An older report may store the names directly rather than as filter settings, and a report may store a setting that names neither. The description of the element could not be built from either.
The description is only built while reporting that an element failed to render, so this replaced the message naming the real problem with a crash report, and the underlying failure stayed hidden. Such reports now render again, and an element that fails is reported with its description as intended.