Werk #19172 · Mar 26, 26
Fix crash when editing backup jobs with hypenated target IDs
Previously, editing a backup job whose target had a hyphenated identifier (e.g. backup-local)
caused a crash with the error:
ValueError: 'backup-local' is not a valid, non-reserved Python identifier
This affected backup targets created in Checkmk 2.3 or 2.4 that used hyphens in their target ID. Starting and completing backups still worked — only the "Edit this backup job" page was broken.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b3All Editions