Closed jtakayama closed 10 years ago
A second database reset fixed the problem. I have not identified what caused the error the first time
EDIT: I was able to reproduce the error on the Vagrant virtual machine after the database reset. The error occurs only if information is filled in under "Profiles" on the user creation screen. If no "Profiles" information is filled in, user creation succeeds.
override the default admin template to hide the inline profile form.
Administrators cannot create new users one at a time in Settings. Bulk uploads still work.
To reproduce this bug in a default Makahiki instance with MAKAHIKI_DEBUG=True:
After saving the new user, the system will raise an IntegrityError:
If the administrator tries to create more users, each user will have the user_id number in the IntegrityError incremented by one. The next user in this example would have the error "Key (user_id)=(7) already exists," and so on.