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.
Created redmine issue http://projects.theforeman.org/issues/5947 from this bug
PR: https://github.com/Katello/katello/pull/4160
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.
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.
Created attachment 902412 [details] blank line available to deselect the gpg-key
This was delivered with 6.0.3, which is the Satellite 6 Beta.