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.
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Login to browser
2. Administration > Roles.
3. View results
Actual results:
ActiveRecord::StatementInvalid in Roles#index
Showing /root/katello/src/app/views/common/_panel.html.haml where line #64 raised:
PGError: ERROR: column "roles.name" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "roles".* FROM "roles" left outer join users on user...
^
: SELECT "roles".* FROM "roles" left outer join users on users.own_role_id = roles.id WHERE "users"."own_role_id" IS NULL GROUP BY roles.id LIMIT 25
Extracted source (around line #64):
61: - if custom_rows
62: = render_rows(:collection=>collection, :columns=>columns, :accessor=>accessor)
63: - else
64: - for item in collection
65: = render :partial=>"common/list_item", :locals=>{:item=>item, :accessor=>accessor, :columns=>columns}
66: %br.clear
Trace of template inclusion: app/views/roles/index.html.haml
Rails.root: /root/katello/src
Application Trace | Framework Trace | Full Trace
app/views/common/_panel.html.haml:64:in `_app_views_common__panel_html_haml__1072711784_70002462948100_1233218804'
app/helpers/application_helper.rb:77:in `two_panel'
app/views/roles/index.html.haml:7:in `_app_views_roles_index_html_haml__1838679593_70002463530420_0'
lib/util/threadsession.rb:77:in `thread_locals'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Expected results:
Working Roles view
Additional info:
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Login to browser 2. Administration > Roles. 3. View results Actual results: ActiveRecord::StatementInvalid in Roles#index Showing /root/katello/src/app/views/common/_panel.html.haml where line #64 raised: PGError: ERROR: column "roles.name" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT "roles".* FROM "roles" left outer join users on user... ^ : SELECT "roles".* FROM "roles" left outer join users on users.own_role_id = roles.id WHERE "users"."own_role_id" IS NULL GROUP BY roles.id LIMIT 25 Extracted source (around line #64): 61: - if custom_rows 62: = render_rows(:collection=>collection, :columns=>columns, :accessor=>accessor) 63: - else 64: - for item in collection 65: = render :partial=>"common/list_item", :locals=>{:item=>item, :accessor=>accessor, :columns=>columns} 66: %br.clear Trace of template inclusion: app/views/roles/index.html.haml Rails.root: /root/katello/src Application Trace | Framework Trace | Full Trace app/views/common/_panel.html.haml:64:in `_app_views_common__panel_html_haml__1072711784_70002462948100_1233218804' app/helpers/application_helper.rb:77:in `two_panel' app/views/roles/index.html.haml:7:in `_app_views_roles_index_html_haml__1838679593_70002463530420_0' lib/util/threadsession.rb:77:in `thread_locals' Request Parameters: None Show session dump Show env dump Response Headers: None Expected results: Working Roles view Additional info: