Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 788783[details]
PG-error while creating a new gpg-key
Description of problem:
Creating a gpg-key via webUI throws following error:
--
PGError: ERROR: missing FROM-clause entry for table "products" LINE 1: ...vironment_id" = 1 ORDER BY repositories.name ASC, products.n... ^ : SELECT "repositories".* FROM "repositories" WHERE "repositories"."gpg_key_id" = 2 AND "repositories"."environment_id" = 1 ORDER BY repositories.name ASC, products.name ASC (ActiveRecord::StatementInvalid)
Click here for more details.
--
Version-Release number of selected component (if applicable):
katello-1.4.3-1.git.256.b710f10.el6.noarch
How reproducible:
always
Steps to Reproduce:
1.Go to Contents--> repository-> gpg key --> new gpg-key
2. enter name and browse file to upload
3.
Actual results:
PGError: ERROR: missing FROM-clause entry for table "products" LINE 1: ...vironment_id" = 1 ORDER BY repositories.name ASC, products.n... ^ : SELECT "repositories".* FROM "repositories" WHERE "repositories"."gpg_key_id" = 2 AND "repositories"."environment_id" = 1 ORDER BY repositories.name ASC, products.name ASC (ActiveRecord::StatementInvalid)
Expected results:
User should be able to add gpg-key without any error
Additional info:
Please ignore comment3.
Its reproducible but with different steps:
1.Go to Contents--> repository-> gpg key --> new gpg-key
2. enter name and browse file to upload
3. select 'Product & Repositories' tab.
The reported error is reproducible now when you select 'Product & Repositories' tab.
Reproducible with: katello-1.4.6-1.git.95.3ef5eb8.el6.noarch
Created attachment 788783 [details] PG-error while creating a new gpg-key Description of problem: Creating a gpg-key via webUI throws following error: -- PGError: ERROR: missing FROM-clause entry for table "products" LINE 1: ...vironment_id" = 1 ORDER BY repositories.name ASC, products.n... ^ : SELECT "repositories".* FROM "repositories" WHERE "repositories"."gpg_key_id" = 2 AND "repositories"."environment_id" = 1 ORDER BY repositories.name ASC, products.name ASC (ActiveRecord::StatementInvalid) Click here for more details. -- Version-Release number of selected component (if applicable): katello-1.4.3-1.git.256.b710f10.el6.noarch How reproducible: always Steps to Reproduce: 1.Go to Contents--> repository-> gpg key --> new gpg-key 2. enter name and browse file to upload 3. Actual results: PGError: ERROR: missing FROM-clause entry for table "products" LINE 1: ...vironment_id" = 1 ORDER BY repositories.name ASC, products.n... ^ : SELECT "repositories".* FROM "repositories" WHERE "repositories"."gpg_key_id" = 2 AND "repositories"."environment_id" = 1 ORDER BY repositories.name ASC, products.name ASC (ActiveRecord::StatementInvalid) Expected results: User should be able to add gpg-key without any error Additional info: