Bad nid column in comment_notify_unsubscribe_by_hash() and the logic needs work since an anonymous commenter would unsubscribe all anonymous commenters.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

john.money created an issue. See original summary.

john.money’s picture

Status: Needs review » Needs work

The last submitted patch, 2: comment_notify-2786985-unsubscribe.patch, failed testing.

chegor’s picture

Status: Needs work » Needs review
FileSize
1.88 KB

Updated patch.

greggles’s picture

Thanks 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?

john.money’s picture

Hi greggles... will circle back around in a few weeks when I have some free time for the tests.

gnuget’s picture

Here the test.

I hope this helps to move forward this issue.

Thanks.

The last submitted patch, 7: 2786985-7-only-test.patch, failed testing.

greggles’s picture

Status: Needs review » Fixed

Thanks for the work on this, everyone, and for the tests, gnuget!

Now committed/pushed.

  • greggles committed 9f6d1b4 on 8.x-1.x authored by gnuget
    Issue #2786985 by gnuget, john.money, chegor: Unsubscribe from...

Status: Fixed » Closed (fixed)

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