Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 841998 - Login: Attempting to login w/o selecting org throws error
Login: Attempting to login w/o selecting org throws error
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
6.0.1
Unspecified Unspecified
unspecified Severity unspecified (vote)
: Unspecified
: Unused
Assigned To: David Davis
Corey Welton
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-20 15:48 EDT by Corey Welton
Modified: 2014-09-18 12:41 EDT (History)
5 users (show)

See Also:
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 14:47:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
larger trace from details in notifications window (9.75 KB, text/plain)
2012-07-20 15:49 EDT, Corey Welton
no flags Details
Screenshot (48.42 KB, image/png)
2012-09-17 12:39 EDT, Corey Welton
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-04 19:39:57 EST

  None (edit)
Description Corey Welton 2012-07-20 15:48:45 EDT
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 15:49:47 EDT
Created attachment 599447 [details]
larger trace from details in notifications window
Comment 2 Corey Welton 2012-07-20 16:25:01 EDT
Katello Version: 0.2.47-1.git.225.b3aa579.el6_3
Comment 3 Mike McCune 2012-08-01 11:24:59 EDT
work this along side the org selection save option story
Comment 4 Jason E. Rist 2012-08-20 11:12:34 EDT
Should be fixed.

As of 7c3acc13ad20759d2d5a200de21cba14965d8ca7
Comment 6 Corey Welton 2012-09-17 12:37:17 EDT
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 12:39:13 EDT
Created attachment 613737 [details]
Screenshot

CloudForms System Engine Version: 1.1.12-7.el6cf
Comment 8 David Davis 2012-09-21 07:59:35 EDT
Pull request:

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

Commit SHA is 6bd8e76cc4a74c251a550b81cf8a7e237b34c5a1
Comment 9 David Davis 2012-09-21 08:00:06 EDT
The problem was caused by the login form being resubmitted when the user hit enter.
Comment 12 Corey Welton 2012-09-25 16:04:33 EDT
QE Verified

CloudForms System Engine Version: 1.1.12-9.el6cf
Comment 14 errata-xmlrpc 2012-12-04 14:47:44 EST
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 13:51:37 EDT
getting rid of 6.0.0 version since that doesn't exist

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