Bug #5168
closed
Setting a host_group parameter to an invalid value doesn't show error
Added by Anonymous over 10 years ago.
Updated over 8 years ago.
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.
- 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.
- Related to Tracker #4470: Usability of parameters and overrides added
- Related to Feature #4469: Overriding or setting parameter values should show available values based on type and validator added
- Status changed from New to Assigned
- Assignee set to Ori Rabin
- Status changed from Assigned to New
- Assignee deleted (
Ori Rabin)
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.
- Status changed from New to Resolved
Tested this with nightly, errors are now shown for hostgroup and host overrides.
Also available in: Atom
PDF