Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
miskopo opened this issue May 15, 2024 · 0 comments · Fixed by #464
Labels
bug Something isn't working

Comments

@miskopo
Copy link
Member

miskopo commented May 15, 2024

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 miskopo added the bug Something isn't working label May 15, 2024
carma12 added a commit to carma12/freeipa-webui that referenced this issue Jul 5, 2024
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.

Fixes: freeipa#374
Signed-off-by: Carla Martinez <carlmart@redhat.com>
Co-authored-by: Petr Vobornik <pvoborni@redhat.com>
carma12 added a commit that referenced this issue Jul 8, 2024
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.

Fixes: #374
Signed-off-by: Carla Martinez <carlmart@redhat.com>
Co-authored-by: Petr Vobornik <pvoborni@redhat.com>
miskopo pushed a commit to miskopo/freeipa-webui that referenced this issue Sep 18, 2024
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.

Fixes: freeipa#374
Signed-off-by: Carla Martinez <carlmart@redhat.com>
Co-authored-by: Petr Vobornik <pvoborni@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant