Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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."
Comment | File | Size | Author |
---|---|---|---|
#2 | admin_edit_blocked_user.patch | 808 bytes | DriesK |
Comments
Comment #1
mfbbacking 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) {
...
}
Comment #2
DriesK CreditAttribution: DriesK commentedHere is a clean solution, not touching existing logic.
Comment #3
mfbthat seems to fix it.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented