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 vote
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:


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.