Bug #33144
closedInstallation source in hostgroup cannot be changed from "synced content" to local medium
Description
In a hostgroup where "synced content" is chosen as installation source it is not possible to change the source a to local medium. Trying to do so does not throw an error but when checking the value afterwards it still says "synced content".
The only currently possible workaround is to change the operating system, save the hostgroup and afterwards editting the hostgroup by changing the operating system back to the original value AND setting the correct medium.
This error only appears in this direction, changing from local medium to "synced content" works without a problem.
Steps to Reproduce:
1. Create a hostgroup
2. Choose "synced content" as installation source
3. Save the hostgroup
4. Edit the hostgroup and change the installation source to local medium
5. Save the hostgroup and check the value
Actual results:
Installation source still is "synced content"
Expected results:
Installation source is previously chosen medium