Werk #14104: Fix error on adding views to reports

Komponente User interface
Titel Fix error on adding views to reports
Datum 29.04.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & 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.

Zur Liste aller Werks