Bug 768477 - Newly created user with no roles gets error when visiting roles page
Summary: Newly created user with no roles gets error when visiting roles page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers 761553
TreeView+ depends on / blocked
 
Reported: 2011-12-16 18:32 UTC by Mike McCune
Modified: 2019-09-26 13:26 UTC (History)
1 user (show)

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


Attachments (Terms of Use)
Newly created user with no roles can visit the role page without any issue. (18.96 KB, image/png)
2012-01-16 12:32 UTC, Sachin Ghai
no flags Details

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.


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