Re: [development] User last access
Earnie Indeed, this is an incredible bug. For example if you have a spammer and you block him, then you'll trash "last access" — it'll show the time when you blocked him instead of when he last accessed... Or when an administrator creates a user, the user's "last access" is immediately set. There's no reasonable way anymore to list those users who have never accessed the site. "Never" is immediately trashed, as you've found out. There are people who think it should work that way for dubious reasons, who have managed to introduce this misbehavior into D5 and D6, and they won't even acknowledge that it's a bug! see http://drupal.org/node/202909 http://drupal.org/node/171117 I'd be extremely grateful, if you managed to get this fixed!!! Hans Earnie Boyd wrote:
In testing my changes for the advuser module (D-5) I notice that if I as administrator edit a user, then the Last Access column changes from Never to just a few seconds ago for that user. How important would a patch to resolve this be? I'm willing to chase it if there is enough interest.
Quoting Hans Salvisberg <drupal@salvisberg.com>:
Earnie
Indeed, this is an incredible bug. For example if you have a spammer and you block him, then you'll trash "last access" — it'll show the time when you blocked him instead of when he last accessed...
Or when an administrator creates a user, the user's "last access" is immediately set. There's no reasonable way anymore to list those users who have never accessed the site. "Never" is immediately trashed, as you've found out.
There are people who think it should work that way for dubious reasons, who have managed to introduce this misbehavior into D5 and D6, and they won't even acknowledge that it's a bug!
Columns like user.access that are meant to be used for statistical data should not be destroyed by my updating the user. The user never logged in, the user is not active, the user was either created by 'administer user' or updated by 'administer user' and nothing more. The patch at node/171117 needs to be backed out of at least D-5 while we look for alternatives in 6 and 7. I've commented on both nodes. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
participants (2)
-
Earnie Boyd -
Hans Salvisberg