Steps to reproduce:

1. Go to ?q=admin/user.
2. Click "edit" in the Operations column.
3. Delete the user using the Delete button at the bottom.

No confirmation page comes up, and the user is not deleted. Other changes on this page do not take effect either.

However, there is a workaround:

1. Go to ?q=admin/user.
2. Click on a user's username.
3. Click the edit tab.
4. Delete the user using the delete button.

The target url for the edit links on ?q=admin/user is different than the target for the edit tab.

edit link: http://example.com/?q=user/1/edit&destination=admin%2Fuser
edit tab: http://example.com/?q=user/1/edit

To remove "&destination=admin%2Fuser" from the edit link, edit line 1646 of user.module:

1646c1646
<     $rows[] = array($account->uid, format_name($account), $status[$account->status], implode(',<br />', $roles), format_date($account->changed, 'small'), l(t('edit'), "user/$account->uid/edit", array(), $destination));
---
>     $rows[] = array($account->uid, format_name($account), $status[$account->status], implode(',<br />', $roles), format_date($account->changed, 'small'), l(t('edit'), "user/$account->uid/edit", array()));

Comments

killes@www.drop.org’s picture

Status: Active » Fixed

I've tried to reproduce this with and without clean urls and couldn't.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)