Hi,

I'm using both shared_email and email_registration modules. When a new user is created I think shared_email messes up the given email address which is used by email_registration to save as username. If a user enters an email address myname@mail.com the username stored in the database will be sharedemailmyname.

For me it's not a biggy. I always use shared_email purely for setting up some test accounts when starting the build of a new project and then disable the module afterwards but I thought I'd share this bug anyway :)

Cheers

CommentFileSizeAuthor
#3 sharedemail.patch1.38 KBjjwhitney
#1 sharedemail.patch1.55 KBjjwhitney

Comments

jjwhitney’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

I ran into this problem, too, except that it was causing problems for a module that I wrote (not email_registration). The "sharedemail_" prefix is being added to $edit during the "validate" stage, and it needs to be removed during the "insert" stage, as well as "submit" and "update" (which are already being handled properly). I've attached a simple fix.

christefano’s picture

Status: Needs review » Needs work

Thanks for posting this patch. It doesn't apply. Can you reroll it against the 6.x-1.x-dev release and exclude the svn cruft.

jjwhitney’s picture

Status: Needs work » Needs review
StatusFileSize
new1.38 KB

OK, this one should apply cleanly. If not, it's pretty easy to apply by hand.

christefano’s picture

Version: 6.x-1.3 » 6.x-1.5
Assigned: Unassigned » christefano
Status: Needs review » Fixed
Issue tags: +email registration

Thanks! This is now in the 6.x-1.5 release.

Status: Fixed » Closed (fixed)
Issue tags: -email registration

Automatically closed -- issue fixed for 2 weeks with no activity.