Bug #34838
closed"Sync Connect Timeout" setting takes invalid value and shows update successful but doesn't reflect the change for invalid values
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2065015
Description of problem:
"Sync Connect Timeout" settings takes invalid value and shows update successful but doesn't reflect the change for invalid values.
Version-Release number of selected component (if applicable):
6.10.4 and 7.0
How reproducible:
Always
Steps to Reproduce:
UI:
1. Administer -> Settings -> Content -> Sync Connection Timeout
2. Edit the value to any invalid value eg. -1 and submit it
CLI:
hammer settings set --id sync_connect_timeout_v2 --value -1
Actual results:
UI:
Displays value updated successfully but doesn't get reflected on the value
CLI:
Setting [sync_connect_timeout_v2] updated to [60].
Expected results:
Error should be displayed for invalid values
Additional info:
This behavior is consistent on CLI, API and UI.