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 841998 - Login: Attempting to login w/o selecting org throws error
Summary: Login: Attempting to login w/o selecting org throws error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-20 19:48 UTC by Corey Welton
Modified: 2019-09-25 20:44 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:47:44 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

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


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