I'm showing this report in /r/
Hmm, I've gotten two of these today myself. For some reason I didn't think anything of it. Does the post # exist on the board?
>>400Nope. Clicking the thread link gives nothing, and if you make a post with that number in it, it isn't linked.
that means the post is already gone.
>>402I figured that part out, but this shouldn't happen. I posted it here so that coda (or whoever) would know there's a bug in the report-deleting.
>>402It struck me as odd because I'm the only /t jan. So thinking about it, it means two threads were deleted by the OP, or a mod before I got to them which seemed off.
I'm 99% sure it happens when a user reports a post after it's already been deleted (because it was deleted between the user loading the page and reporting the post). I assume the system just isn't checking to see if a report points to a post that actually exists before logging it.
>>405Bingo, that's it.I tried by opening the report window for a post, deleting it, then hitting report. Boom, orphaned report.Seems that all you need to do is check that the post exists on report submission.
It seems to happen any time the post is deleted through any method other than the reports page.Like, if a user deletes his own post that someone had reported. Or if you use the extension button to delete a post that's been reported, the reports don't get cleared.