Hide Forgot
Created attachment 809840 [details] error for associated gpg-keys Description of problem: Deleting associated GPG keys with products/providers throws an error. Version-Release number of selected component (if applicable): Satellite-6.0.2-RHEL-6-20131007.0 How reproducible: Deleting associated GPG keys with products/providers Steps to Reproduce: 1. Create a gpg-key 2. associate a gpg-key with prods/providers 3. Try deleting the gpg-keys Actual results: throws the below error upon deletion of a gpg-key which is associated with product/provider ERROR: update or delete on table "gpg_keys" violates foreign key constraint "products_gpg_key_id_fk" on table "products" DETAIL: Key (id)=(6) is still referenced from table "products". (PGError) Click here for more details. Expected results: Should allow deletion of gpg-keys. Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
small correction: throws the below error upon deletion of a gpg-key which is associated with product or repositories. that is 1) gpg-key associated with product and then it's deletion 2) gpg-key assocaited with only repos and then it's deletion. Also, another observation is that, upon navigating back to the gpg-keys page, the gpg-key is no longer visible in the left pane. But the UI does throw the above error.
fixed in 6a40eba9618409b004807484fdb0dcf1a6d9f60a
FWIW, this seems to be ok now but I will let Kedar verify.
Deleting the gpg-key associated with only product is successful. Deleting the gpg-key associated with only repository is also successful. Verified with Satellite-6.0.2-RHEL-6-20131016.0
This was verified and delivered with MDP2. Closing it out.