Werk #22131: Fix crash when removing downtimes in some views
| Component | User interface | ||||||
| Title | Fix crash when removing downtimes in some views | ||||||
| Date | Aug 17, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Using Remove downtimes on Monitor > Synthetic monitoring > Synthetic
Monitoring tests failed with a crash report showing
KeyError: 'service_downtimes', and the downtimes were not removed.
The command took the downtime IDs from the table row, which only carries the columns a view actually displays. That view shows no downtime column, so the IDs were not there -- unlike the host and service views, where they are.
The IDs are now looked up for the affected host or service whenever the view does not supply them, so Remove downtimes works on every view that offers it. Other views without a downtime column were affected in the same way.