Werk #19381: HW/SW Inventory: Saving trees with retention intervals for table columns failed
| Component | HW/SW inventory | ||||
| Title | HW/SW Inventory: Saving trees with retention intervals for table columns failed | ||||
| Date | Nov 11, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
If a rule Retention intervals for HW/SW inventory kept columns of a table, the service Check_MK HW/SW Inventory crashed with:
TypeError: keys must be str, int, float, bool or None, not tuple
The retention intervals of a table were keyed by the values of the row's key columns. JSON, the format of saved inventory trees, cannot store such keys, so no inventory tree was saved for the affected hosts.
The retention intervals of tables are now saved in a format JSON can store. Inventory trees saved by earlier versions can still be read.