Subject changed from Changes in selected Installation Media of a Location are not inherited by nested Sub-Locations when using the "selec all" checkbox to Changes in selected Installation Media of a Location are not inherited by nested Child Locations when using the "Select all" checkbox
How to reproduce:
Create a Location with a specific selection of Installation Media
Create a nested Child Location, this can be a carbon copy for now
In the Parent Location check the "Select all Media" checkbox and submit
Check the Child Location settings: All installation Media are greyed out on the Selected side, the "Select all" checkbox is not set
Go to Hosts -> Installation media and switch to the Child Location
Only the Installation Media that were selected during the creation of the Child Location are visible
When manually selecting the Installation Media in the Parent location without using the "Select all" checkbox the changes are inherited by the Child Location correctly
Category changed from Organizations and Locations to Organizations and Locations
Hi Marcel,
We're moving this to the Foreman project because it doesn't seem to be Katello related. If you think it is, please provide us with more information to show why.
If you follow the defined reproducer steps, all options of media are selected in the child location but the 'All Media' checkbox is not selected. Do you haven an idea @Maria Agaphontzev ?
It looks like generally the inheritance in the locations is a bit off. For example if the location inherits parameters they are not shown in /api/v2/locations/ID/parameters/ and if the parent's location media is defined, and then selected to "all", then a user creates a child location, and the user goes to the child location, all media page, the child location does not see all media. Looks like the search for media ignores the "ignore_types" parameter in the parent. @Leos Stejskal@Oleh Fedorenko can you take a look?