Werk #13414: Fix copying of views into dashboard

Component Setup
Title Fix copying of views into dashboard
Date Mar 15, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The following error was shown after copying the "allservices" view into a dashboard (create new dashboard; choose "Add" -> "Copy of existing view"; choose "allservices").

Cannot load dashboards from /omd/sites/site/var/check_mk/web/cmkadmin/user_dashboards.mk: invalid syntax (<unknown>, line 1)

The error was permanent, no dashboards could be viewed or edited. The error could be resolved by removing a single l before a " from the file mentioned in the error message.

To the list of all Werks