Project

General

Profile

Actions

Bug #5168

closed

Setting a host_group parameter to an invalid value doesn't show error

Added by Anonymous over 10 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 2 (1 open1 closed)

Related to Foreman - Tracker #4470: Usability of parameters and overridesNew

Actions
Related to Foreman - Feature #4469: Overriding or setting parameter values should show available values based on type and validatorDuplicate02/27/2014Actions
Actions #1

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.

Actions #2

Updated by Stephen Benjamin over 10 years ago

  • Related to Tracker #4470: Usability of parameters and overrides added
Actions #3

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
Actions #4

Updated by Ori Rabin about 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin
Actions #5

Updated by Ori Rabin over 9 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Ori Rabin)
Actions #6

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.

Actions #7

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.

Actions

Also available in: Atom PDF