Werk #19905 · Jul 21, 26
Fix crash on hosts with null values in meta_data
The REST API crashed when serializing the attributes of a host or folder whose meta_data attribute contained explicit null values for created_at, updated_at or created_by instead of omitting the keys entirely.
This also affected the Dynamic host configuration (DCD), which uses these endpoints and crashed when processing such hosts.
The REST API now treats null values in meta_data the same as missing keys and omits the corresponding fields from the response.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p10All Editions