Online status is not updated

kristyb2008 - May 18, 2009 - 16:15
Project:User Stats
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I have a view setup which checks for "Is_Online".. I have added "Is_Online" as a filter, but didn't select "Online" or "Offline" because I want to show both status initially in the view. However, I exposed the filter and set an optional value so that it's not mandatory. Now when the user logs in, and you go to the view of users it only shows offline users, then if you reload the filters it will display online and offline users. Then when the user logouts, the view isn't updated to reflect that the user is logged out. I guess, is there a way to clear users status so that it reflects more accurate statistics? Or what is the proper way to accomplish this? Are these bug issues that are known and not fixed?

#1

tseven - May 28, 2009 - 05:49

I am experiencing the same behavior using Views, except my filter is hidden.

#2

Liam McDermott - July 1, 2009 - 07:06
Title:Views not update Online Status» Online status is not updated
Category:support request» bug report
Status:active» fixed

Thanks for the report, and sorry for taking a while to get to it.

This is fixed with one caveat: an error is generated in Postgres, due to a bug in Views 2 (#506818: [Postgres] GROUP BY uses field names instead of aliases). Should be alright for most users though, Postgres users should just avoid using the -dev version until Views is fixed.

The -dev release on the project front page will update within the next 24 hours, please test and re-open this bug if the problem is still there. Thanks. :)

#3

System Message - July 15, 2009 - 07:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.