Werk #22015: Setup: crash when deleting a host tag group assigned to a folder
| Component | Setup | ||||
| Title | Setup: crash when deleting a host tag group assigned to a folder | ||||
| Date | Sep 10, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Deleting a host tag group that was explicitly assigned to a folder did not work. After choosing "Fix affected folders, hosts and rules" on the confirmation screen, Setup showed a crash report instead of removing the tag group:
TypeError (Folder.save() missing 2 required keyword-only arguments: 'pprint_value' and 'acting_user')
The tag group stayed in the configuration and could not be removed via Setup > Hosts > Tags.
Such tag groups can now be deleted again, and the tag is removed from the affected folders. Tag groups that were only assigned to hosts or used in rules were not affected by this problem.