Werk #12948: REST API ETag handling

Component REST API
Title REST API ETag handling
Date Jun 24, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p7 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In 2.0.0p6, the viewing of a host through the REST API might fail due to missing "modification time" information on the host. This led to a HTTP 500 error. Also, the calculation of the ETag was sometimes based on stale cached values, resulting in subsequent HTTP 412 "precondition failed" errors. This werk fixes both of these bug.

To the list of all Werks