From Jeremy:
I just tested again, and I'm still getting the error. Indeed, marking a user as spam a second time does indeed mark his as spam. After that 'mark as spam' and 'mark as not spam' work as expected, though I see the error each time. I'm using the latest version of the spam module code checked out from CVS (cvs update -dP). The only thing I've not (yet) tried is dropping my database and using a fresh installation, but I'm not aware of any relevant database updates.
Screenshot attached.
The steps I used to get here:
1) as uid 1 I went to admin/user/user/create and created a test user
2) I clicked on the new user to view its profile
3) I click 'mark as spam' on the user's profile
I repeated these steps to create a new user, and saw the same error.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | notices.patch | 6.37 KB | killes@www.drop.org |
| spam_error.png | 28.92 KB | gnassar |
Comments
Comment #1
gnassar commentedHey, Jeremy --
followed those exact steps, and still not seeing the problem.
Any particular roles selected for the user? I left all non-required fields blank.
Beyond this, I'm not sure why we'd be getting this. I'm thinking maybe, dump the value of $string in _bayesian_tokenize (after line 149) and see what it's pulling as content?
Comment #2
killes@www.drop.org commentedHere's a patch that addresses this and other similar errors.
Comment #3
jeremy commentedLooks good, thanks Gerhard!
Comment #4
killes@www.drop.org commentedcommitted