Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 0e7ca59cea24f0b2d1a49bf9d822ac56f99e950a
https://github.com/tribe29/checkmk/commit/0e7ca59cea24f0b2d1a49bf9d822ac56f…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2022-03-01 (Tue, 01 Mar 2022)
Changed paths:
M cmk/gui/plugins/userdb/user_attributes.py
Log Message:
-----------
Fixed typing confusion in some user attributes.
The previous no_preselect_value argument was wrong for 2 reasons:
* Using no_preselect_value without using no_preselect=True doesn't have any effect.
* Even if no_preselect=True had been there: None should have been used instead of
False.
Note that the first item shows a typical flaw in the myriad different kwargs
in most ValueSpecs: They can represent illegal/nonsensical combinations,
which is a very strong hint that this should be done differently.
Change-Id: If237a2030a36e0e6cfd6301006251623072e941a