When trying to create a new user on admin/user/user/create with "Use on administrative user creation form" active i get "The username does not exist on admin user create" error.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | content_profile_registration.patch | 714 bytes | andreiashu |
| #2 | 447288.patch | 1.68 KB | solipsist |
Comments
Comment #1
ilakshmir commentedI also encounter this problem.
Comment #2
solipsist commentedHappens also in beta 3.
The cause is that the Content Profile Registration module attempts to run a node object through node_validate() before the user account has been created. This makes node_validate() fail and sets a form error since the user account set as author of the node doesn't exist (yet).
The easiest fix is to simply unset the uid and name fields of the node object that Content Profile Register passes to node_validate(). I've attached a patch that does exactly that. It was made using Git as I don't have time right now to make a proper CVS patch but it should be enough for the module maintainers to fix the issue for now.
Comment #3
andreiashu commentedHere is an updated patch
Comment #4
aether commentedI can confirm that this patch fixes this issue.
Comment #5
gmclelland commentedI can also confirm this patch works.
Comment #6
andreiashu commentedI think this is RTBC.
Lets hope that fago can have a look and commit this soon.
Comment #7
benjaminlhaas commentedI also confirm that this patch works.
Comment #8
fagoPlease file future patches from the modules root directory.
I improved the commenting a bit and committed it. Thanks!