Bug #21185
New Host Synced Content Radio Button disabled
Description
Steps to Reproduce:
1) Configure->Host Groups->New Host Group
2) Change the Arch and OS in the OS Tab
3) Set the LCE, CV and Content Source
4) Go back to the OS tab and notice that the synced content radio is still disable even though there is a Bootable Kickstart Distribution synced for that Operating System.
Cannot select "Sync Content" for install media
Expected results:
Should be able to select sync content and install from kickstart.
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1378558
Associated revisions
History
#1
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6985 added
#2
Updated by Brad Buckingham over 4 years ago
- Subject changed from New Host Synced Content Radio Button disabled to New Host Synced Content Radio Button disabled
- Target version set to 217
#3
Updated by Brad Buckingham over 4 years ago
- Target version changed from 217 to 225
#4
Updated by John Mitsch over 4 years ago
- Legacy Backlogs Release (now unused) set to 250
#5
Updated by Partha Aji over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|9cb59baadbcf65996898115eda2343c61970ae4e.
Fixes #21185 - Enables synced content on new HG
This commit fixes a bug introduced by
https://github.com/Katello/katello/commit/b5202aefc6fc40124aa781dfc50fbcc1b42f2503#diff-b00c6110bdd0244ed7e91bdb05cf3ba2R33
The content source id got changed in the erb but was not reflected in
the javascript causing the page to forget to make the os_selected call
if the the Arch/OS/LCE/CV/and Content Source were selected in the wrong
order.