Description

No bug probably a configuration mistake!

We have had a problem whith a user on our main wiki instance. While it was not possible to use the old account I have removed the files from the data/user dir belonging to this user.

On the browser all cookies were removed too. Now if we like to add the same UserName we got a message that's someone else uses this name. It is possible to create a different UserName.

What I found out is that's in data/cache/user is a file named name2id which has an entry about this user. I have stopped the server and removed this file. Afterwards I was able to create a new user with the UserName. This file name2id was then autocreated.

Now it works with this user.

During testing I recognized that's if ones an email address is saved to an user we can't use the same email adress for another one. That's ok, but it should recognize that's the other user is disabled forever. At the moment this other user must be removed from data/user.

Workaround

Discussion

The first issue about the name2id file is rather internal behaviour - MoinMoin does not expect you to delete user files. We might document this better.

Can this be re-examined, please? A new user has messed up their profile. The cleanest solution seems to be for me, the admin, to kill and recreate the user. Yet this "feature" prohibits me from doing so. I don't like removing the file altogether, doesn't that break ALL existing users? At a minimum, I'd like an admin command that removes a specific user from the (pickled) dictionary. I guess I'll write my own script to do same, but it really seems like it should be a MoinMoin admin function. -- TomStambaugh

The second one is a duplicate, see ../RegisterAccountChecksDisabledAccounts

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/UserCreationFails (last edited 2007-10-29 19:18:08 by localhost)