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.

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:
Embargoed:
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.