Bug #24131
closedInconsistency in editing a host on web UI
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1585529
Description of problem:
Given a host that is using a different CV/LE than its hostgroup. When editing it, the hostgroups's default CV and LE are loaded. This behaviour is quite confusing as it makes people think that the updating is not successful after clicking on the submit button.
Version-Release number of selected component (if applicable):
Katello 3.4
How reproducible:
Easy
Steps to Reproduce:
1. Create a hostgroup with a CV and LE
2. Create a host with the hostgroup
3. Edit the host with a different CV and LE
4. Check the editing host page again
Actual results:
On the editing host page, it shows the hostgroups's default CV and LE.
Expected results:
It should show the CV and LE that match the db entry.