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 744996 - 500 Internal server error : while login with newly created user which has no permissions
Summary: 500 Internal server error : while login with newly created user which has no ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-10-11 06:39 UTC by Sachin Ghai
Modified: 2019-09-26 13:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:00:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Ghai 2011-10-11 06:39:18 UTC
Description of problem:
I created a new user and didn't assign any permission/role to this user. However when I login with this user, got:

-------
500 INTERNAL SERVER ERROR
Sorry about that! It seems something went wrong. If you continue having trouble with this, please contact an Administrator.

You might want to log out and log back in again to clear your cookies.

Error:
undefined method `owner_info' for nil:NilClass
----


Version-Release number of selected component (if applicable):
[root@dhcp201-177 ~]# rpm -qa | grep katello
katello-cli-0.1.10-1.git.585.a6c83c3.fc15.noarch
katello-0.1.89-1.git.0.0619c06.fc15.noarch
katello-repos-0.1.3-1.git.0.db2bd1d.fc15.noarch
katello-all-0.1.89-1.git.0.0619c06.fc15.noarch
katello-configure-0.1.4-1.git.121.1fd6bdc.fc15.noarch
[root@dhcp201-177 ~]# 

How reproducible:
always with Firefox and google chrome browser

Steps to Reproduce:
1. Login with admin user
2. create a new user without assigning roles/permission
3. Login again with newly created user
  
Actual results:

Error:
undefined method `owner_info' for nil:NilClass

Expected results:
UI shouldn't raise any error while login with user which has no permissions.

Additional info:

Comment 2 Corey Welton 2011-10-25 03:46:49 UTC
QA Verified


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