[drupal-devel] [bug] Error while deleting user
Dries
drupal-devel at drupal.org
Tue Feb 8 19:10:49 UTC 2005
Project: Drupal
Version: cvs
Component: user.module
Category: bug reports
Priority: normal
Assigned to: chx
Reported by: chx
Updated by: Dries
Status: patch
buddy: can you reproduce this problem with CVS HEAD or with Drupal
4.5.x?
Dries
Previous comments:
------------------------------------------------------------------------
January 12, 2005 - 21:44 : chx
Attachment: http://drupal.org/files/issues/user_delete_0.patch (875 bytes)
Type error
Date Wednesday, January 12, 2005 - 19:17
User chx
Location /cvs/drupal/?q=user/2/edit
Message array_keys(): The first argument should be an array in
/var/www/cvs/drupal/modules/user.module on line 1048.
Hostname 127.0.0.1
------------------------------------------------------------------------
January 25, 2005 - 00:20 : Dries
I can't reproduce this problem.
------------------------------------------------------------------------
February 7, 2005 - 20:00 : budda
Problem is fixed by the patch here. Had no more problems since.
Error was re-produced when trying to delete the same user account a
number of times by hitting the 'delete' form button.
------------------------------------------------------------------------
February 7, 2005 - 20:20 : budda
I also note that you can hit the 'delete' button as much as you want and
the account will not be deleted. I see that you are required to first
mark the account status to "block". Actually giving user feedback to
say this would be handy.
Currently clicking the 'delete' button just refreshes the user form.
Maybe some javascript could be used to disable the 'delete' button
until the status == 0 (blocked) ? Definitely increase usability then.
Is this a related bug or a new issue?
--
View: http://drupal.org/node/15511
Edit: http://drupal.org/project/comments/add/15511
More information about the drupal-devel
mailing list