Unapproving comments

Topics: Business Logic Layer
Mar 13, 2013 at 9:52 AM
I'm running BlogEngine.NET 2.7 using SQL Server (updated some weeks ago)
Today, I tried to unapprove some comments, but it doesn't seem to be working.

The only thing I can find in the log file is this:
Api.Comments.Reject: Object reference not set to an instance of an object.

That's not a lot of information to go on. Is there anything I can do to get more information about the problem?
Mar 16, 2013 at 7:55 PM
I've done some further investigation to the cause of this exception.

It seems that the CommentHandlers.ReportMistake method is calling customFilter.Report(comment) on an extension that is actually disabled in the configuration.
Because it is disabled, the TypePad extension refuses to initialize and later generates the NullReferenceException.

To me, it seems most logical that disabled extensions would never be invoked, so unless it is stated specifically as intended behavior, I will treat this as a BlogEngine.NET bug.