Bug 772199 - Default selection should be there on UI for GPG keys
Summary: Default selection should be there on UI for GPG keys
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Katello
Classification: Retired
Component: WebUI
Version: 1.X
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.x
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-06 12:11 UTC by Sachin Ghai
Modified: 2013-09-19 18:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 18:21:21 UTC


Attachments (Terms of Use)
No default selection for GPG key on create product page (29.35 KB, image/png)
2012-01-06 12:14 UTC, Sachin Ghai
no flags Details
Default selection is there on Create repo page (23.92 KB, image/png)
2012-01-06 12:19 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2012-01-06 12:11:43 UTC
Description of problem:
After adding a gpg key, I tried to add a product. 
on right pane of create product page, the GPG list box was empty. The default selection should automatically show the added key instead of empty box.

The bahviour should be similar to create product page, which selects the GPG key by default.

Version-Release number of selected component (if applicable):
[root@dhcp201-214 ~]# rpm -qa | grep katello
katello-configure-0.1.49-1.el6.noarch
katello-0.1.167-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-0.1.33-1.el6.noarch
katello-glue-foreman-0.1.167-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-glue-candlepin-0.1.167-1.el6.noarch
katello-glue-pulp-0.1.167-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.33-1.el6.noarch
katello-common-0.1.167-1.el6.noarch
katello-all-0.1.167-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. Add only one gpgkey
2. Add product
3.
  
Actual results:
on create product page, the GPGkey list box shouldn't be empty as one key is already added. So in case of one key, UI should select it by default as in create repo page.

Expected results:
GPG list box is empty on create product page.

Additional info:

Comment 1 Sachin Ghai 2012-01-06 12:14:41 UTC
Created attachment 551136 [details]
No default selection for GPG key on create product page

Comment 2 Sachin Ghai 2012-01-06 12:19:50 UTC
Created attachment 551137 [details]
Default selection is there on Create repo page

Comment 3 Mike McCune 2012-01-11 16:12:03 UTC
the default *should* be blank.  GPG keys are not required for products

For a future version we will add some text messaging to this page to explain this.

Going to align this to 1.1

Comment 4 Miroslav Suchý 2012-12-18 10:26:04 UTC
Mike can you provide explanation for #3 (so I can copy'n'paste it to webpage :)

Comment 5 Eric Helms 2012-12-18 17:04:35 UTC
Upstream - https://github.com/Katello/katello/pull/1290

Comment 6 Eric Helms 2012-12-19 12:29:34 UTC
Added a tooltip next to the GPG key to let users know that GPG keys are optional and can be left blank.

a4e8c782fe74d43c84b5f7e639e4f0eecae9a980


Note You need to log in before you can comment on or make changes to this bug.