[drupal-devel] [bug] Error while deleting user

budda drupal-devel at drupal.org
Mon Feb 7 18:20:41 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  chx
 Reported by:  chx
 Updated by:   budda
 Status:       patch

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?


Previous comments:

January 12, 2005 - 19: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.


January 24, 2005 - 22:20 : Dries

I can't reproduce this problem.


February 7, 2005 - 18: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.

View: http://drupal.org/node/15511
Edit: http://drupal.org/project/comments/add/15511

More information about the drupal-devel mailing list