Openfire (ARCHIVED)

Sessions page autorefresh shows blank page in some situations

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.5.1
  • Fix Version/s: 3.6.2
  • Component/s: Admin Console
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

E.g. Sessions page pagination is set to 100. Auto refresh is 60 seconds. There are 120 online sessions and administator goes to the second page to see those last 20 sessions. After a 10 seconds 40 sessions goes offline (so only 80 should be showing). Sessions page auto refreshes and shows nothing. No pagination, no online sessions. Only the counter on the top shows 80. It should jump to the previous page automatically if there are no online session on the current page.

Activity

Hide
Daryl Herzmann added a comment -

Hi wroot,

I ran into this as well I believe the attached patch against trunk fixes it. Will assign to 3.6.0

daryl

Show
Daryl Herzmann added a comment - Hi wroot, I ran into this as well I believe the attached patch against trunk fixes it. Will assign to 3.6.0 daryl
Hide
Daryl Herzmann added a comment -

Of course, my patch has a bug when no users are logged in. $start becomes negative. reworking patch

Show
Daryl Herzmann added a comment - Of course, my patch has a bug when no users are logged in. $start becomes negative. reworking patch
Hide
Daryl Herzmann added a comment -

reworked patch to avoid ISE when there are zero sessions.

Show
Daryl Herzmann added a comment - reworked patch to avoid ISE when there are zero sessions.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: