Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed module and out-of-box got errors on the /admin/config/people/comment_notify page.
The Default mail text for sending out notifications to commenters is using the following invalid tokens: [comment:node:title].
The Default mail text for sending out the notifications to node authors is using the following invalid tokens: [comment:node:author], [comment:node:title], [comment:node:author:edit-url].
I removed invalid tokens and module works.
Comment | File | Size | Author |
---|---|---|---|
#10 | comment_notify-2684153-10-only-test.patch | 1.57 KB | gnuget |
#10 | comment_notify-2684153-10.patch | 5.24 KB | gnuget |
| |||
#7 | comment_notify-2684153-07.patch | 3.66 KB | chegor |
| |||
#5 | comment_notify-2684153-02.patch | 4.13 KB | john.money |
#2 | 2684153-invalid-tokens.patch | 3.11 KB | daria.a |
|
Comments
Comment #2
daria.a CreditAttribution: daria.a commentedHello Yahor.
I have the same problem. Attached patch solves it.
Comment #3
daria.a CreditAttribution: daria.a commentedComment #4
renat CreditAttribution: renat as a volunteer commentedPatch from #2 solved this problem for me as well. Updates to the code seems reasonable, so mark it as an RTBC.
Comment #5
john.money CreditAttribution: john.money at Acquia commentedMissed one...
Comment #7
chegor CreditAttribution: chegor as a volunteer commentedUpdated patch to fix failed tests on d.org
Comment #8
john.money CreditAttribution: john.money at Acquia commented@chegor, appreciate the rerolls!
Comment #9
gnugetI just tested this and it is working great.
What do we need to this be committed?
Comment #10
gnugetI wrote a quick test, hope this helps to fix the issue.
:-)
Comment #12
gnugetComment #14
gregglesThanks for the tests, gnuget and thanks for your work on this, everyone else!
Now committed.
Comment #15
gregglesComment #17
DamienMcKenna