Problem/Motivation
Since february 27th, my client's website's email sent via webforms stopped displaying the submission content. Where the email content used to be displayed, I now have no content.
When I checked the email template in the module's parameters, I noticed the tokens I used are no longer listed in the available token popin. There isn't any submission token available, so I don't have any solution to display my form's content.
I haven't done any change on this at that date that could have created the issue, and I found a post from someone else with the same issue posted a month ago. It looks like a bug to me, which is why I created this issue. EDIT: Related post link.
Steps to reproduce
- Create a webform.
- Configure it to send email.
- On the "Webform" / "courriels" tab, add an email address.
- In this address preferences, in "E-mail template", select "default template".
- Use the form to send an email
- Check the received email: It doesn't display the submission informations (date, fields content, link)
Comments
Comment #2
marion_vlt commentedComment #3
cilefen commentedYou found a post from someone else with the same issue posted a month ago. Would you please share a link to that?
Comment #4
marion_vlt commentedComment #5
marion_vlt commentedHi, thank you for your comment. I edited the issue with the link to the post.
Comment #6
marion_vlt commentedComment #7
marion_vlt commentedUp, anyone?
Comment #8
alisonAny chance you also have webform_rules and/or Commerce (and/or commerce_webform?) -- I started having issues with missing submission IDs, but I have all of these modules ^^
And, do you see anything in "Recent log messages" when you submit the form?
I recently updated webform 7.x-4.25 => 7.x-4.26, and webform_rules 7.x-1.6 => 7.x-1.7. After these updates, my rules that add products to the shopping cart don't work, *and* watchdog/dblog/"Recent log messages" shows notices and a warning that indicate that the submission ID is missing. (I have no recent updates to Commerce or Commerce Webform.)
I tried downgrading webform to 7.x-4.25, and it didn't help, my shopping cart was still broken.
I tried downgrading webform_rules to 7.x-1.6, and (after clearing cache), the problems went away, my shopping cart works again (phew).
So, I'm leaving it at that -- idk if this will help, but, sharing just in case!
-------
P.S. The dblog messages I got:
P.P.S. I'm cross-posting this update on #3424382: Webform data tokens appear to only work on first reaction
Comment #9
marion_vlt commentedHi,
Thank you very much for sharing your experience.
Sadly, I don't have any module related to webform, other than webform telephone, that haven't been updated since 2017. So there's no way this could be related.
Thanks anyway and glad you found a workaround in your case.
Comment #10
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.