Werk #14471: Fix possible AttributeError on report rendering

Component Reporting & availability
Title Fix possible AttributeError on report rendering
Date Aug 17, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p10 Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p28 Checkmk Enterprise (CEE), Checkmk MSP (CME)

If an availability table with annotation using "Reclassify downtime of this period regard as scheduled downtime" was added to a report, the rendering of the report failed with an error like "AttributeError: 'NoneType' object has no attribute 'read'".

To the list of all Werks