Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Comments on Flags page returns 500 error when having a flag on a deleted post

Parent

Flags page returns 500 error when having a flag on a deleted post

+1
−0

For some reason, I can't access my flags page (https://writing.codidact.com/users/53196/flags). It just returns a 500 server error.

It seems to only be only on this community for some reason; I can access it fine on the other communities.

It is probably because I te one flag I have is on a post that has since been deleted.

Error ID: 0af97925-f0c6-4285-a365-9699a26b7ff6

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (11 comments)
Post
+0
−0

This was a data error -- the post you flagged was spam, we do some extra stuff when nuking spam, and something went wrong. Fixed now. You won't see the post you flagged because it's completely gone, but you won't get an error page now either.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Doesn't that mean that the flag count is wrong? (4 comments)
Doesn't that mean that the flag count is wrong?
Moshi‭ wrote about 3 years ago

Right now it looks like my profile shows that I have raised 0 flags, which is incorrect given that (though the post is deleted) I have raised a flag.

Monica Cellio‭ wrote about 3 years ago

Yeah, sorry about that. I think when posts get completely obliterated, their associated stats go too. But flag count feeds into abilities, so we should see if we can do something about that.

deleted user wrote about 3 years ago

Since, the post isn't available in database than, how database can show a flag from deleted data?

I meant which data was deleted from database the related data will be lost either.

And, If your profile was showing 1 flag raised but, when you visit flag page then, it will unable to show you any post hence, there will be 0 flag in your flag page. And, statistics will show 1 flag raised but, flag page will show 0. So, it will be bug. Instead of making that bug, it OK to remove the whole data. (But, I would care of curate privilege that moment)

Monica Cellio‭ wrote about 3 years ago

What I meant is that instead of nuking the post without a trace, we could leave a "gravestone" behind to attach history to, like flags, if we wanted to. I haven't given this much thought. It just feels off that the reward for flagging spam is to lose "credit" for your flag in abilities calculations.