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 Editon Checkmk Enterprise (CEE)
Checkmk Version 2.1.0b8 2.2.0i1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

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 (, 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