In the current CVS head, "blocked" users cannot be edited by admins. You have to manually re-enable the user (set status=1) thru mysql and then you can edit the user.

To reproduce: Edit user; Set user status to "blocked"; Submit. Now the user/*/edit page returns "Page not found."

CommentFileSizeAuthor
#2 admin_edit_blocked_user.patch808 bytesDriesK
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mfb’s picture

backing out either of these diffs in user.module will fix it:

~line 75
$user = new StdClass(); << $user = FALSE;

or

~line 747
if ($user_exists !== FALSE) {
...
}

DriesK’s picture

Component: user system » user.module
Assigned: Unassigned » DriesK
Status: Active » Needs review
FileSize
808 bytes

Here is a clean solution, not touching existing logic.

mfb’s picture

that seems to fix it.

Dries’s picture

Status: Needs review » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)