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.
Bad nid column in comment_notify_unsubscribe_by_hash() and the logic needs work since an anonymous commenter would unsubscribe all anonymous commenters.
Comment | File | Size | Author |
---|---|---|---|
#7 | 2786985-7.patch | 2.83 KB | gnuget |
| |||
#7 | 2786985-7-only-test.patch | 972 bytes | gnuget |
#4 | 2786985-4.patch | 1.88 KB | chegor |
| |||
#2 | comment_notify-2786985-unsubscribe.patch | 2.03 KB | john.money |
Comments
Comment #2
john.money CreditAttribution: john.money at Acquia commentedComment #4
chegor CreditAttribution: chegor as a volunteer commentedUpdated patch.
Comment #5
gregglesThanks for your help fixing this bug! The changes look right to me and also simplify the code - the best solution :)
Any chance you can provide an automated test to cover this case so we know it keeps working in the future?
Comment #6
john.money CreditAttribution: john.money at Acquia commentedHi greggles... will circle back around in a few weeks when I have some free time for the tests.
Comment #7
gnugetHere the test.
I hope this helps to move forward this issue.
Thanks.
Comment #9
gregglesThanks for the work on this, everyone, and for the tests, gnuget!
Now committed/pushed.