Bug 841998

Summary: Login: Attempting to login w/o selecting org throws error
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: David Davis <daviddavis>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, dmacpher, mmccune, omaciel, snansi
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
System Engine submitted the login form twice when a user authenticates. As a result, an error appeared if a user did not select an organization after login. This fix corrects login mechanism and the error does not appear.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:47:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
larger trace from details in notifications window
none
Screenshot none

Description Corey Welton 2012-07-20 19:48:45 UTC
Description of problem:
After user logs in, s/he is prompted to select an org. if none is selected, an error is thrown.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Login as admin
2.  On the following page, which asks you to choose an org from the dropdown, choose nothing and instead submit.
3.  View results
  
Actual results:
Missing template notices/show with {:handlers=>[:rjs, :rhtml, :rxml, :haml, :builder, :erb], :formats=>[:js, "application/ecmascript", "application/x-ecmascript", "*/*"], :locale=>[:en, :en]} in view paths "/usr/share/katello/app/views" (ActionView::MissingTemplate) 

Expected results:
Proper handling of this scenario - certainly no error thrown.

Additional info:

Comment 1 Corey Welton 2012-07-20 19:49:47 UTC
Created attachment 599447 [details]
larger trace from details in notifications window

Comment 2 Corey Welton 2012-07-20 20:25:01 UTC
Katello Version: 0.2.47-1.git.225.b3aa579.el6_3

Comment 3 Mike McCune 2012-08-01 15:24:59 UTC
work this along side the org selection save option story

Comment 4 Jason E. Rist 2012-08-20 15:12:34 UTC
Should be fixed.

As of 7c3acc13ad20759d2d5a200de21cba14965d8ca7

Comment 6 Corey Welton 2012-09-17 16:37:17 UTC
Bouncing back to dev. Once logged in, user is given a (different) screen to select org, "Choose an Organization". However, just hitting enter and not selecting anything returns the following notification:

Missing template dashboard/index with {:locale=>[:en, :en], :handlers=>[:builder, :rjs, :haml, :rhtml, :rxml, :erb], :formats=>[:js, "application/ecmascript", "application/x-ecmascript", "*/*"]} in view paths "/usr/share/katello/app/views", "/usr/lib/ruby/gems/1.8/gems/apipie-rails-0.0.11/app/views" (ActionView::MissingTemplate)
Click here for more details.

Attaching screenshot which includes newer UI than the one that existed when this was first reported.

Comment 7 Corey Welton 2012-09-17 16:39:13 UTC
Created attachment 613737 [details]
Screenshot

CloudForms System Engine Version: 1.1.12-7.el6cf

Comment 8 David Davis 2012-09-21 11:59:35 UTC
Pull request:

https://github.com/Katello/katello/pull/710

Commit SHA is 6bd8e76cc4a74c251a550b81cf8a7e237b34c5a1

Comment 9 David Davis 2012-09-21 12:00:06 UTC
The problem was caused by the login form being resubmitted when the user hit enter.

Comment 12 Corey Welton 2012-09-25 20:04:33 UTC
QE Verified

CloudForms System Engine Version: 1.1.12-9.el6cf

Comment 14 errata-xmlrpc 2012-12-04 19:47:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html

Comment 15 Mike McCune 2013-08-16 17:51:37 UTC
getting rid of 6.0.0 version since that doesn't exist