Bug #8087
closedNested location are not shown as nested
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1152238
Description of problem:
Nested locations are not shown as nested. When you select a location and add a nested locatoin to it (using nested) a new location is created. Editing or modifying the new location does not refer to the parent location
Version-Release number of selected component (if applicable):
6.0.4
How reproducible:
Always
Steps to Reproduce:
1. Create a new location
2. Go to the location and press the arrow, choose Nest
3. A new locatoin is created, but it is not nested to anything. The API does not refer to parent, the GUI does not reflect relationship
Actual results:
Expected results:
New location should be
https://satellite.sergio.cloud/locations/1-Madrid/5-pio-xii/nest
instead of:
https://satellite.sergio.cloud/locations/5-pio-xii/
When creating the new location, a parent should be chosen (no parent should be an option there)
When showing a location, parent-child tree should be visible (Pio-XII should be a child of Madrid)
When showing hosts, format should be 5 (of which 3 are children)
Actions to remove childrens, remove relationship to parent, should be present
Additional info: