freeipa-webui
freeipa-webui copied to clipboard
(User details) Refresh button does not refresh datetime fields if the value provided is incorrect
Description of a problem:
When providing incorrect value to the datetime fields in the user details (i.e. Password expiration
and Kerberos principal expiration (UTC)
, these are not reloaded if the Refresh
button is pressed.
Reproducer:
- Open user details
- Navigate to
Password expiration
section - provide and incorrect date and time (i.e. "11111111" and "0000"). Errors should be shown under respective fields
- Press the Refresh button in the bottom section
Desired behaviour:
The values should be reloaded to the last saved state
Actual behaviour:
The values stay the same (i.e. the invalid ones) and error messages are shown
Note: The Refresh
button functions correctly if the values provided are valid and no error messages are shown.