You’re right there is no mass delete option (I remember this being removed for some reason) but you can delete from detail-view.
Works for me, you should get a message “The user name (“name”) already exists. Duplicate user names are not allowed. Please change the user name to be unique.”. Are you certain the names were identical?
Delete Users
I am unable to delete Users in ListView (which would be very handy), in EditView and in DetailView (see three attached images):
No possibility to delete User in ListView:
No possibility to delete User in DetailView:
No possibility to delete User in EditView:
The only way is programmatically but it is not recommendable because there are few tables to touch.
Multiple Users with the same username
Before applying the patch for the passwords I have successfully created a few users with the same username (this is what is used for logging in).
DB table with two users with username “test_user_001”:
ListView with two users with username “test_user_001”:
I also checked if there were any javascript errors in the console as well as in the logs but nothing in there.
The only error in the log has to do with elasticsearch failing in something repetitively (although I did not enable it) but let’s leave this to another thread!
However, after applying the patch now I get the same error message that you suggested:
“The user name test_user_001 already exists. Duplicate user names are not allowed. Please change the user name to be unique.”
I haven’t analysed the code of the patch but I remember reading somewhere that, when the password is not saved, the User is saved skipping other checks, so that could be the case.