freeipa-webui icon indicating copy to clipboard operation
freeipa-webui copied to clipboard

(User details) Refresh button does not refresh datetime fields if the value provided is incorrect

Open miskopo opened this issue 9 months ago • 0 comments

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:

  1. Open user details
  2. Navigate to Password expiration section
  3. provide and incorrect date and time (i.e. "11111111" and "0000"). Errors should be shown under respective fields
  4. 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.

Recording of an issue:

Kooha-2024-05-15-15-11-54

miskopo avatar May 15 '24 13:05 miskopo