Bug 768477

Summary: Newly created user with no roles gets error when visiting roles page
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:15:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 747354, 761553    
Attachments:
Description Flags
Newly created user with no roles can visit the role page without any issue. none

Description Mike McCune 2011-12-16 18:32:29 UTC
* Create a new user, grant no roles

* Login as new user

* Hit the username link in upper right corner of the screen

* Notice big red error:

"Missing template users/items with {:locale=>[:en, :en], :handlers=>[:rjs, :erb, :rhtml, :builder, :rxml, :haml], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :svg, :tdl, :pdf]} in view paths "/usr/share/katello/app/views""

Comment 1 Mike McCune 2012-01-10 21:02:46 UTC
Also now we get upon login:

"undefined method `start_time' for #""

Comment 3 Partha Aji 2012-01-11 22:29:56 UTC
The issue comment 0 seems to be fixed. Fail the bug if it recurs.

Comment 4 Sachin Ghai 2012-01-16 12:31:01 UTC
Verified with latest katello build 0.1.178.

The reported issue has been fixed. I can visit the details/roles page of newly created user. Please see the attachment in next comment.

Also didn't face this issue ""undefined method `start_time' for #""  in 0.1.178 build. Also we have seperate bz #773591 to track this issue. 

Moving this to verified.

Comment 5 Sachin Ghai 2012-01-16 12:32:30 UTC
Created attachment 555487 [details]
Newly created user with no roles can visit the role page without any issue.