Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 760868

Summary: Can not unselect the 'selected distribution' from system templates
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: ehelms, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-13 17:01:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
can not unselect 'selected distro' from sys template none

Description Sachin Ghai 2011-12-07 08:39:45 UTC
Description of problem:
I was trying to add a distribution to a system template. so first I added a product f15 to system template then clicked the "selected distribution" option from right pane and got the "ks-Fedora-Fedora-15-x86_64" option.

But after selecting "ks-Fedora-Fedora-15-x86_64", I was not able to unselect it from UI. It remains in selected state

It was working before, but not with the new build.

Version-Release number of selected component (if applicable):
[root@dhcp201-168 f15]# rpm -qa | grep katello
katello-common-0.1.126-2.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-0.1.22-2.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-glue-pulp-0.1.126-2.el6.x86_64
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-foreman-0.1.126-2.el6.x86_64
katello-all-0.1.126-2.el6.x86_64
katello-0.1.126-2.el6.x86_64
katello-configure-0.1.26-2.el6.noarch
katello-glue-candlepin-0.1.126-2.el6.x86_64
katello-cli-common-0.1.22-2.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. add a product f15 to sys template
2. select the "selected distribution from right pane
3. select "ks-Fedora-Fedora-15-x86_64"
  
Actual results:
Unable to unselect the selected distro. distro remains in selected state.

Expected results:
unselect should also work

Additional info:

Comment 1 Sachin Ghai 2011-12-07 08:41:08 UTC
Created attachment 541763 [details]
can not unselect 'selected distro' from sys template

Comment 2 Mike McCune 2012-01-26 19:38:45 UTC
mass move to CFSE product.

Comment 3 Eric Helms 2012-02-13 17:01:12 UTC
The real issue is that one and only one distribution is required for a system template and the user is not made aware of this in more obvious manner.  The user should be made to select a distribution to have a proper template, thus if there is only one distribution it should not be un-selectable.

Comment 4 Mike McCune 2013-08-16 18:13:59 UTC
getting rid of 6.0.0 version since that doesn't exist