Bug #5168
closedSetting 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.
Updated by Stephen Benjamin over 10 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.
Updated by Stephen Benjamin over 10 years ago
- Related to Tracker #4470: Usability of parameters and overrides added
Updated by Stephen Benjamin over 10 years ago
- Related to Feature #4469: Overriding or setting parameter values should show available values based on type and validator added
Updated by Ori Rabin about 10 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
Updated by Ori Rabin over 9 years ago
- Status changed from Assigned to New
- Assignee deleted (
Ori Rabin)
Updated by Anonymous over 9 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.
Updated by Ori Rabin almost 9 years ago
- Status changed from New to Resolved
Tested this with nightly, errors are now shown for hostgroup and host overrides.