Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d25f338c518220bd89d403cc313b883ce62c27bd
https://github.com/tribe29/checkmk/commit/d25f338c518220bd89d403cc313b883ce…
Author: Maximilian Wirtz <maximilian.wirtz(a)tribe29.com>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M cmk/gui/dashboard.py
M cmk/gui/http.py
M cmk/gui/views/__init__.py
M cmk/gui/visuals.py
M tests/unit/cmk/gui/test_http.py
Log Message:
-----------
Introduce request.get_validated_type_input
UserId now raises ValueErrors on validation errors. These are not
properly catched by the GUI. Therefore a new method
"get_validated_type_input" was introduced. It calls the constructor
for the given Type (e.g. UserId or int) and catches the ValueErrors
and reraises MKUserErrors.
Change-Id: I7cb60f776e8b351ee0e50a9e8a1f5e5fda886650