Werk #14471: Fix possible AttributeError on report rendering

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

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