jbossorg / sbs-spam

Jive SBS Plugin for better handling of spam
Apache License 2.0
1 stars 2 forks source link

Content Governor interceptor doesn't work correctly on Documents in Jive 6 #14

Closed lkrzyzanek closed 11 years ago

lkrzyzanek commented 11 years ago

Interceptor's content.getUser() returns initial author of document instead of user who did an edit.

In case when author is not same as editor it throws NullpointerException because .getEmail() returns null (because of privacy settings).

How to reproduce the bug: