Bug 707576

Summary: cumin doesn't redirect after the session times out
Product: Red Hat Enterprise MRG Reporter: Martin Kudlej <mkudlej>
Component: cuminAssignee: Chad Roberts <croberts>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0CC: croberts, iboverma, jsarenik, matt, tmckay
Target Milestone: 2.0.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.4863-1 Doc Type: Bug Fix
Doc Text:
C: The resume updates button would fail after a session timed out. C: 2 things: 1, there was an exception due to the assumption of an active session and 2, the background update code had no way to handle an out of session request/redirect. F: Gracefully handled the exception causing the stack trace to be displayed and updated the background page update code to be able to redirect to the login page when the session has timed-out, or or otherwise gone away. R: Cumin will now properly send you to the login page when you click a link after having your session timeout.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 16:42:52 UTC Type: ---
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: 723887    

Description Martin Kudlej 2011-05-25 12:32:16 UTC
Description of problem: 
I think cumin should redirect to login page when session timeouted. Now cumin periodically refresh data on webpage. But after session timeout it doesn't redirect to login page and user should click somewhere.

Version-Release number of selected component (if applicable):
cumin-0.1.4767-1.el5

How reproducible:
100%

Steps to Reproduce:
1. install cumin
2. watch Grid or Messaging tab and wait till session timeout
3. click on some link
  
Actual results:
Cumin doesn't redirect after session timeout.

Expected results:
Cumin will redirect after session timeout.

Comment 1 Chad Roberts 2011-06-27 20:06:00 UTC
Fixed in revision 4859.

Comment 2 Chad Roberts 2011-06-27 20:06:00 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C:  The resume updates button would fail after a session timed out.

C:  2 things:  1, there was an exception due to the assumption of an active session and 2, the background update code had no way to handle an out of session request/redirect.

F:  Gracefully handled the exception causing the stack trace to be displayed and updated the background page update code to be able to redirect to the login page when the session has timed-out, or or otherwise gone away.

R:  Cumin will now properly send you to the login page when you click a link after having your session timeout.

Comment 4 Jan Sarenik 2011-07-22 12:19:43 UTC
Verified with cumin-0.1.4878-1.el5

Comment 5 errata-xmlrpc 2011-09-07 16:42:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1249.html