Bug 841998
| Summary: | Login: Attempting to login w/o selecting org throws error | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> | ||||||
| Component: | WebUI | Assignee: | David Davis <daviddavis> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Corey Welton <cwelton> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.0.1 | CC: | bkearney, dmacpher, mmccune, omaciel, snansi | ||||||
| Target Milestone: | Unspecified | Keywords: | 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: |
|
||||||||
Created attachment 599447 [details]
larger trace from details in notifications window
Katello Version: 0.2.47-1.git.225.b3aa579.el6_3 work this along side the org selection save option story Should be fixed. As of 7c3acc13ad20759d2d5a200de21cba14965d8ca7 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.
Created attachment 613737 [details]
Screenshot
CloudForms System Engine Version: 1.1.12-7.el6cf
Pull request: https://github.com/Katello/katello/pull/710 Commit SHA is 6bd8e76cc4a74c251a550b81cf8a7e237b34c5a1 The problem was caused by the login form being resubmitted when the user hit enter. QE Verified CloudForms System Engine Version: 1.1.12-9.el6cf 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 getting rid of 6.0.0 version since that doesn't exist |
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: