Bug 1346287

Summary: Error in my settings after timeout
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: low Docs Contact:
Priority: medium    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, mzazrivec, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1413113 (view as bug list) Environment:
Last Closed: 2017-06-12 16:55:03 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:
Bug Depends On:    
Bug Blocks: 1413113    
Attachments:
Description Flags
error after logging in again none

Description Matouš Mojžíš 2016-06-14 13:11:37 UTC
Created attachment 1167863 [details]
error after logging in again

Description of problem:


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

How reproducible:
Always 

Steps to Reproduce:
1. Settings -> My settings
2. Set timeout to five minutes and wait more than five minutes
3. Select another tab for example Default Views
4. It logouts so log in again
Actual results:
Error when selecting a tab in My Settings after timeout

Expected results:


Additional info:

Comment 3 CFME Bot 2017-01-10 11:27:40 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/5de4161b2e8e806bd5be7675b8d55a74c5d76f15

commit 5de4161b2e8e806bd5be7675b8d55a74c5d76f15
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Jan 9 16:19:35 2017 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Jan 9 16:25:47 2017 +0100

    Remove unnecessary @config_tab variable
    
    Currently, the @config_tab variable can only have one value ("ui")
    and therefore is not really needed.
    
    Besides, it's stored in session and will cause havoc when the session
    expires and the code still refers to that session-stored value (which
    is now voided) and we want to switch tabs in 'My Settings' screen.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1346287

 app/controllers/configuration_controller.rb       | 45 ++++++-----------------
 app/presenters/menu/default_menu.rb               |  2 +-
 app/views/layouts/application.html.haml           |  3 +-
 spec/controllers/configuration_controller_spec.rb |  1 -
 4 files changed, 14 insertions(+), 37 deletions(-)

Comment 6 Matouš Mojžíš 2017-03-06 10:42:34 UTC
Verified in 5.8.0.3. After timeout it redirects me to Dashboard.