Bug 1346287 - Error in my settings after timeout
Summary: Error in my settings after timeout
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.8.0
Assignee: Milan Zázrivec
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui
Depends On:
Blocks: 1413113
TreeView+ depends on / blocked
 
Reported: 2016-06-14 13:11 UTC by Matouš Mojžíš
Modified: 2018-08-21 11:09 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1413113 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:55:03 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error after logging in again (61.67 KB, image/png)
2016-06-14 13:11 UTC, Matouš Mojžíš
no flags Details

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.


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