Werk #13414: Fix copying of views into dashboard

Component Setup
Title Fix copying of views into dashboard
Date Mar 15, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b2 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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