Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 03521608092e113adc6e93e6fe580c844db50cbb
https://github.com/tribe29/checkmk/commit/03521608092e113adc6e93e6fe580c844…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
M cmk/gui/fields/base.py
A tests/unit/cmk/gui/fields/test_multinested.py
Log Message:
-----------
MultiNested: fix handling of blank schemas
Blank schemas are marshmallow schemas without
explicitly declared fields, which only have a
schema level validator to verify the data.
The MultiNested field now supports those types
of field by detecting them and switching to a
"key-by-key" strategy. In the end all sucessfully
converted fields get their errors removed again.
Also: error messages are now more predictable
Change-Id: I2afda904092f7f54b95f09738076e46a444d260c
Commit: 6c0487b28a07e60a0381878bc279cb0f3b957548
https://github.com/tribe29/checkmk/commit/6c0487b28a07e60a0381878bc279cb0f3…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
A .werks/13931
M cmk/gui/fields/base.py
M cmk/gui/valuespec.py
Log Message:
-----------
13931 FIX wrong labels not raising errors in the REST API
Previously when trying to set an invalid "labels" value when creating or
updating a host through the REST API,
the error did not occur and a 200 OK response would be returned. The value would not be
set though.
This werk fixes this problem.
Change-Id: I51212372f386169300fce9536064a77e9a03aae9
Commit: e554cadc212fb0bcd874033a9ec7e01d40e86097
https://github.com/tribe29/checkmk/commit/e554cadc212fb0bcd874033a9ec7e01d4…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
A .werks/14067
M cmk/gui/plugins/wato/builtin_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
14067 FIX REST-API host_config: addition of validation for host labels
Host labels take the key:value format where both key and value are of
the string type. In the previous version, it was possible to specify
non valid entries such as a list of strings as the REST API did not
perform validation for the labels. This consequently led to other
problems as Checkmk attempted to process the label values expecting
a string. This werk introduces validation for the host labels in
order to prevent such instances.
Change-Id: I97909724813843198b607439a87d231980c0f594
Compare:
https://github.com/tribe29/checkmk/compare/8163e7204b9b...e554cadc212f