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 1028098 - Create repo: When accidentally selecting a GPG key, no way to deselect that key
Summary: Create repo: When accidentally selecting a GPG key, no way to deselect that key
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-07 16:28 UTC by Corey Welton
Modified: 2019-09-26 17:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:06:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
blank line available to deselect the gpg-key (87.67 KB, image/png)
2014-06-05 06:39 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5947 0 None None None 2016-04-22 14:58:18 UTC

Description Corey Welton 2013-11-07 16:28:25 UTC
Description of problem:
When user is creating a yum/puppet repo and accidentally chooses something from the GPG key box, s/he is unable to "deselect" it since the 'blank' line in the dropdown disappears.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Create a GPG key
2.  Attempt to create a repo (either yum or puppet);  click on the GPG key dropdown, noting the blank line (nothing selected) and the GPG key you uploaded/created.
3.  Select the GPG key.
4.  Click dropdown again and try to "deselect" it.

Actual results:
No blank option, user can't deselect

Expected results:
User should always have option to clear a gpg key they accidentally were setting up.

Additional info:
Workarounds:
 Cancel/reload
 Edit the repo once created and fix the GPG key there, where we again have the blank option.

Comment 2 Brad Buckingham 2014-05-27 16:14:08 UTC
Created redmine issue http://projects.theforeman.org/issues/5947 from this bug

Comment 3 Walden Raines 2014-05-27 19:38:03 UTC
PR: https://github.com/Katello/katello/pull/4160

Comment 4 Walden Raines 2014-05-28 20:31:34 UTC
commit 7900de0811a9e36a374f67b495cd5701971e5c3c
Merge: a1bd062 b8506e4
Author: Walden Raines <walden>
Date:   Wed May 28 16:30:55 2014 -0400

    Merge pull request #4160 from waldenraines/5947
    
    Fixes #5947/BZ1028098 - allow selecting empty GPG key and sync plan.

commit b8506e42bf6e92ed548f88fdb7fee727c9ec41b8
Author: Walden Raines <walden>
Date:   Tue May 27 15:36:30 2014 -0400

    Fixes #5947/BZ1028098 - allow selecting empty GPG key and sync plan.

Comment 6 Sachin Ghai 2014-06-05 06:38:13 UTC
Verified with sat6 beta snap8 (Satellite-6.0.3-RHEL-6-20140604.0)

I can see the blank line, in create repo form, under gpg-key. Now if user wants, can deselect the key with blank line. Please see the attached screenshot for verification.

Comment 7 Sachin Ghai 2014-06-05 06:39:27 UTC
Created attachment 902412 [details]
blank line available to deselect the gpg-key

Comment 8 Bryan Kearney 2014-07-02 14:06:41 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


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