Bug #27927
closedParent object properties are not propagated to Child objects in Location and Host Group
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1751981
Description of problem:
In a Parent-Child relation (e.q. in Location and Host Group) the Parent properties are not being propagated to the Child objects.
Version-Release number of selected component (if applicable):
How reproducible:
Consistent
Steps to Reproduce:
1.Create Parent Location with Subnet assigned
2.Create a Child Location from this Parent
3.Create a host and assign it to the Child Location
Actual results:
Error message: Subnet not defined for host's location
(this happens both via GUI's "Create Host" and hammer-cli 'hammer host create --name <name> --location <Child Location>...'
Expected results:
Host created successfully with assigned Location's properties
Additional info:
Related to bug #1733241 where hammer doesn't support inheritance properties.
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Ezr
- Pull request https://github.com/theforeman/foreman/pull/7201 added
Updated by Ondřej Ezr about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset a53eafb04c4571d45eed242e58aeba3c1e328824.