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.
Updated by Jeremy Lenz over 2 years ago
- Project changed from Katello to Foreman
- Subject changed from "Sync Connect Timeout" settings takes invalid value and shows update successful but doesn't reflect the change for invalid values to "Sync Connect Timeout" settings takes invalid value and shows update successful but doesn't reflect the change for invalid values
- Category deleted (
Content Views)
Updated by Jeremy Lenz over 2 years ago
- Pull request https://github.com/theforeman/foreman/pull/9203 added
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
Updated by Jeremy Lenz over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|662c4a3a3a1749846f5fc6c114dd3363c7a3bcf1.
Updated by Amit Upadhye over 2 years ago
- Subject changed from "Sync Connect Timeout" settings takes invalid value and shows update successful but doesn't reflect the change for invalid values to "Sync Connect Timeout" setting takes invalid value and shows update successful but doesn't reflect the change for invalid values