Werk #14104: Fix error on adding views to reports

Component User interface
Title Fix error on adding views to reports
Date Apr 29, 2022
Checkmk Version 2.2.0b1 2.1.0b8
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Affected Editions
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b8 Checkmk Enterprise (CEE), Checkmk MSP (CME)

If you used report options in the "Add to" menu of views, an error like Cannot load reports from /omd/sites/beta/var/check_mk/web/USER/user_reports.mk: invalid syntax (<unknown>, line 1) occured.

If you still see this error while opening views or reports, you have to edit the file /omd/sites/beta/var/check_mk/web/USER/user_reports.mk and change all occurrences of entries like {'title': l'MY_TITLE'} to {"title: 'MY_TITLE'}.

Another option is to simply delete the file, but your saved options will be lost.

To the list of all Werks