Hide Forgot
Description of problem: The antispam code relies on the comment_after_add_tag to disable spammer accounts this hook isn't being triggered and so comments marked as spam do not trigger disabling accounts. Version-Release number of selected component (if applicable): 5.0.4.rh26 How reproducible: Easy Steps to Reproduce: 1. setup an account with no groups 2. make 5 comments on one or bugs with that account 3. in an account in a privileged group tag all 5 comments as spam or abuse Actual results: The account is not disabled Expected results: The account is disabled Additional info:
Hey Alasdair, thoughts?
Go for it.
I'm getting Can't locate object method "is_new" via package "Bugzilla::User" at /var/www/html/bugzilla/extensions/AntiSpam/Extension.pm line 280. while I tries to add abuse or spam to a comment, the function might be misspelled, please check the problem out.
I'm getting x Can't locate object method "comment_count" via package "Bugzilla::User" at /var/www/html/bugzilla/extensions/AntiSpam/Extension.pm line 287. After the first problem been solved, Looks like it's hard for our server to count 5 :P
Verified on latest QE environment. Result: PASS tag user's comments as spam 5 times will disable that user without problem.
This change has been deployed to the pre-production infrastructure at https://partner-bugzilla.redhat.com
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.