Actions
Bug #14737
closedChanging Host Group does not change operating system
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Create 2 Host groups "hostgroup-rh" with OS -> Redhat and "hostgroup-fedora" with OS fedora
Go to the New Hosts page pick hostgroup-rh -> the operating system tab reflect fedora
Now go back to main screen and change the host group to "hostgroup-fedora" .
Expected:
OS updates to fedora
Actual:
No changes
This is because of the following line of code
Notice how it says update the attribute only if its previously not set. This runs counter to the user perspective who expect the hostgroup change to be propagated across the board.
self.send("#{attr}=", value) unless send(attr).present?
Updated by Dominic Cleal about 8 years ago
- Is duplicate of Bug #8245: Changing to a new host group does not update the operating system in new host form added
Actions