Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 127aa9f65c6d95287b1fef507ed574deab75152c
https://github.com/tribe29/checkmk/commit/127aa9f65c6d95287b1fef507ed574dea…
Author: Philipp Siegmantel <philipp.siegmantel(a)tribe29.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
A .werks/13969
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_etags.py
Log Message:
-----------
13969 FIX ETag for root folder is not correctly generated
The ETag header for the root folder has been generated incorrectly, making it impossible
to edit it through the REST API.
This is no longer the case.
Dev note:
The ETag was generated by the werkzeug framework before,
even though it seems to me that no ETag should have been
generated.
As the only way to prevent werkzeug from setting the ETag header
is setting it yourself, I decided to remove the root folder
special case.
SUP-12290
Change-Id: Ifc1895da467a641dc5d0239e097199764ee3c82a