Werk #17158: Fix error on publishing forcast or custom graphs to sites

Component User interface
Title Fix error on publishing forcast or custom graphs to sites
Date Aug 12, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p13 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

If you used the option "Publish to users of sites" an error like "TypeError: ('sites', ['MYSITE'])" occured.

A workaround was to move the custom graph file of the user within ~/var/check_mk/web/USERNAME. Note: This will result in a loss of the users custom graphs.

To the list of all Werks