mvcforum icon indicating copy to clipboard operation
mvcforum copied to clipboard

Error messages in log

Open ic-cedwards opened this issue 8 years ago • 3 comments

I'm getting lots of error messages in my log like this:

A post created activity record with id '9169bd78-8409-4363-bfb2-a88800e7d7a7' has a post id 'c3e082ba-cdf6-4633-95b2-a88800e7d765' that is not found in the post table.

Generated by:

MvcForum.Core.dll | ConvertToSpecificActivities | MvcForum.Core.Services.ActivityService

I get similar ones to do with topics, member joined, badges... any idea what's causing them and what I can do to track down the issue please?

ic-cedwards avatar Mar 20 '18 12:03 ic-cedwards

It just means a post has been deleted that is referenced in the activity table. I think I'll keep the log item, but delete the activity record to stop it showing.

YodasMyDad avatar Mar 20 '18 12:03 YodasMyDad

Ah. That makes sense. Thanks for the update. I was just getting worried about the log filling up rapidly.

Presumably it's the same for the topic, user & badge ones I'm getting then?

ic-cedwards avatar Mar 20 '18 12:03 ic-cedwards

Yeah, anything like that, I should log then delete the activity record really.

YodasMyDad avatar Mar 20 '18 12:03 YodasMyDad