Closed (fixed)
Project:
Email Registration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2009 at 12:53 UTC
Updated:
30 Mar 2010 at 13:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
kenorb commentedOk, I found that username is replaced in email_registration_user(). But still don't understand why this alias in my case still contain the password.Watchdog record:
Using: logintoboggan, genpass, pathauto
Issue is related to this one:
#254422: Using old data for tokens
Comment #2
kenorb commentedMaybe because I'm using pathauto, which have default alias for users: [user-raw] and its weight is before email_registration?No.
Comment #3
kenorb commentedIt's because email_registration updated the name directly into database without updating current object which can be use by other modules and it's inconsistent.
Apart of patch, you should change weight of the email_registration to 0 (before autopath which has 1).
#316737: pathauto_user token data is inconsistent
Or just delete .install file (where there is nothing) and reinstall the module.
1st should be module which replacing the username, 2nd should be token, and 3rd one should be pathauto.
Comment #4
kenorb commentedRe-uploaded cleaner version of patch.
Comment #5
kenorb commentedMarked: #321473: Module weight & other modules that interact with 'insert' in hook_user as duplicate.
Comment #6
kenorb commentedThis is the patch for weight, it require update (see #3).
You don't need to use this patch for .install file if you will delete your .install file and reinstall the module.
This patch should be combined with #4.
I don't see any reason that email_registration weight should be 10, instead of 0.
Comment #7
asak commentedI can confirm that using patches in comments #4 and #6 work.
I'm using this in combination with AAR, subdomain, pathauto and content_profile on D6.9 - and all is well.
Great work. thank you!
Comment #8
joostvdl commentedIs this going in the DEV branch?
Comment #9
Christopher Herberte commentedCommitted to 6.x.1.x-dev
Please test, especially the weight change. IIRC this was added back in 5.x to fix this same issue?
I'm not closing this issue just yet.
Comment #10
s.daniel commentedWith the latest dev I can still see a report like this in the watchdog
"New user: 2wcbWdmbSu (sth@sth.net)."
2wcbWdmbSu ist not the password - what is it?
Anyhow the dev works besides that.
Comment #11
Christopher Herberte commentedUsername cannot be empty, the crud is just a placeholder until we obtain the email address. Closing.
Comment #13
mendelson commentedWith the weight 0 the changes at the forms email_registration_form_alter
for the names not working. Or not effective because the other modules (logintobogan) set it later.