Closed (duplicate)
Project:
Commerce Email
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2012 at 01:29 UTC
Updated:
31 Oct 2020 at 09:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tmsimont commentedThis is actually a pretty big deal -- it makes it impossible for new users to actually log into the website.
Comment #2
tmsimont commentedI've been testing a bit and confirm that none of the following tokens are converted to real values in this email:
Comment #3
ransomweaver commentedI had previously worked around this by using php in the email at admin/commerce/config/email like so:
However this stopped working for some reason so my new workaround is this:
Edit the rule supplied by commerce_email here: /admin/config/workflow/rules/reaction/manage/commerce_email_new_account
In the loop at the end, add a new action (system:send email)
for To: use [user:mail]
for message just copy what is in admin/commerce/config/email for the account email.
delete the "send variable email" from the loop.
edit the account email in admin/commerce/config/email to say something like DUE TO A BUG THIS EMAIL IS NOT USED. and say how to find the rule that needs editing.
NOTE: you need to check that rules can resolve the one-time-login token. check in the tokens list in the email action to see that its there. If its not, you probably have to put this patch into rules:
http://drupal.org/files/1289898-rules-restricted-user-tokens.patch
which is super easy to do by hand.
I'm not sure if that's necessary. I just haven't tested without it.
Comment #4
michiellucas commentedSame problem, nobody working on this issue?
Pretty big issue because it is destroying the anonymous users
Comment #5
tmsimont commented#3 works for me, but it would be nice to see this fixed for this module so those steps aren't necessary
Comment #6
zengenuity commentedJust want to confirm that the steps in #3 worked for me, too.
Comment #7
daniel wentsch commentedSeems to be an issue with Variable Email: #1430694: [user:one-time-login-url] is not available on config page, so new user cannot log in
Edit: now with correct issue link
Comment #8
xurizaemonSee #1430694: [user:one-time-login-url] is not available on config page, so new user cannot log in. Note that the fix in that issue requires uncommenting a couple of lines.
Comment #9
joey-santiago commentedMy workaround has been:
Comment #10
dtamajon commentedI think solution should be on Token module, where the token is declared:
This is not the only token not replaced, so Tokens module should be reviewed to add those replacements.
Comment #11
Damn-Deal-Done commented#10 solved this problem for me.
Comment #12
rsamsen commentedI've created a patch based on #10, as this also solves my problem.
Bear with me, my first patch in the community. So I'm not sure what to do next ;)