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:
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