Bug 754382 - Login after session timeout does not (re)display the portlets on summary tab
Summary: Login after session timeout does not (re)display the portlets on summary tab
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER01
: JON 3.2.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: jon30-sprint9
TreeView+ depends on / blocked
 
Reported: 2011-11-16 10:28 UTC by Heiko W. Rupp
Modified: 2014-01-02 20:39 UTC (History)
5 users (show)

Fixed In Version: 4.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot directly after login (after timed out session) (28.13 KB, image/png)
2011-11-16 10:28 UTC, Heiko W. Rupp
no flags Details

Description Heiko W. Rupp 2011-11-16 10:28:17 UTC
Created attachment 533961 [details]
Screenshot directly after login (after timed out session)

Go to e.g. the CPUs autogroup, summary tab. have it display metrics  (after the patch from BUG  ) and then
do something else until the session times out.
Then log in again.
See that the metrics are no longer shown and the alerts portlet shows the spinning circle

Got to inventory tab and back to summary to see the metrics again.

Looks like after login we need to send a refresh to the whole page

Comment 1 Heiko W. Rupp 2011-11-16 11:36:30 UTC
This also applies to single resources and the summary tab.

Comment 2 Jay Shaughnessy 2011-11-17 14:23:49 UTC
I think I know where to fix this. I'll take a stab at it.

Comment 3 Jay Shaughnessy 2011-11-17 21:15:18 UTC
I believe this is now working as desired.

master     commit dae9b5cc5568a1d76d56a458d0973b4fd8ac6d5d
release3.x commit 9a7e2047d3d6c7bffb85afb70dc41a98691ba6c9

    A couple of things going on here:
    - make sure we request a refresh after re-login, for RefreshableViews
    - make the dashboard views Refreshable to take advantage of the above
      change
    - for the global dash, ensure switching amongst dash tabs works
      appropriately

Test Notes:
A little difficult for testing in that it takes an hour for us to timeout
a session.  Doable although tedious.  Anyone wanting to test this using
a dev build can lower SESSION_TIMEOUT in UserSessionManager to be much
lower, like a minute.

Comment 4 Robert Buck 2011-11-24 00:55:49 UTC
FAIL - I tested this against master and after a session timeout and re-login I see the spinner. If I go to a different page and come back all the metrics reload. This sounds like the same behavior that Heiko reported, so I don't think this has been fixed; please confirm with Heiko.

Comment 5 Heiko W. Rupp 2011-11-24 15:08:09 UTC
works for me with on Safari, but fails on FF8 

And yes, I know that both are not supported.

Comment 6 Robert Buck 2011-11-28 13:39:23 UTC
(In reply to comment #4)
> FAIL - I tested this against master and after a session timeout and re-login I
> see the spinner. If I go to a different page and come back all the metrics
> reload. This sounds like the same behavior that Heiko reported, so I don't
> think this has been fixed; please confirm with Heiko.

n.b. I tested with FF8; I didn't have an old version of FF.

Comment 8 Jay Shaughnessy 2012-02-10 15:30:33 UTC
Moving this to ON_QA to test in a supported browser.

Comment 9 Larry O'Leary 2013-09-06 14:32:19 UTC
As this is MODIFIED or ON_QA, setting milestone to ER1.

Comment 10 Jeeva Kandasamy 2013-11-19 11:29:49 UTC
Version:
JBOSS Operations Network
Version : 3.2.0.ER5
Build Number : 2cb2bc9:225c796
GWT Version : 2.5.0
SmartGWT Version : 3.0p

Browser: Firefox ESR 17.0.7
OS: RHEL 6.4 (x64)

Page gets refreshed once logged in after session timeout.


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