Bug #5168

Setting a host_group parameter to an invalid value doesn't show error
Description
This is when you override a parameter from the host_group. If your parameter is an invalid value, you click submit and it says it successfully saved your host_group. It returns to the main host_group page. It hasn't saved your parameter and doesn't show that you submitted an invalid parameter. You have to return to the host_group you were working on to see that no parameter was saved.
Related issues
History
#1
Updated by Stephen Benjamin almost 7 years ago
- Category set to Web Interface
Booleans just don't save, although by all appearances the edit was successful. #4469 should fix that by making it a drop down.
For other errors like a malformed array, it's a rails error, but the user should probably be returned to the edit form and the bad field should highlighted red to be consistent with other parts of the UI.
#2
Updated by Stephen Benjamin almost 7 years ago
- Related to Tracker #4470: Usability of parameters and overrides added
#3
Updated by Stephen Benjamin almost 7 years ago
- Related to Feature #4469: Overriding or setting parameter values should show available values based on type and validator added
#4
Updated by Ori Rabin over 6 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
#5
Updated by Ori Rabin over 5 years ago
- Status changed from Assigned to New
- Assignee deleted (
Ori Rabin)
#6
Updated by Anonymous over 5 years ago
This also applies to 1.8.1 if a validator rule is set, and the override value doesn't match. In addition to overrides done from a hostgroup edit, it also fails for host parameter overrides with the same behavior.
#7
Updated by Ori Rabin about 5 years ago
- Status changed from New to Resolved
Tested this with nightly, errors are now shown for hostgroup and host overrides.