Red Hat Bugzilla – Bug 754382
Login after session timeout does not (re)display the portlets on summary tab
Last modified: 2014-01-02 15:39:17 EST
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
This also applies to single resources and the summary tab.
I think I know where to fix this. I'll take a stab at it.
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
- for the global dash, ensure switching amongst dash tabs works
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.
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.
works for me with on Safari, but fails on FF8
And yes, I know that both are not supported.
(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.
Moving this to ON_QA to test in a supported browser.
As this is MODIFIED or ON_QA, setting milestone to ER1.
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.