Accepting "custom" flag returns 500 if post was edited in the meantime

There is a flag. It’s a custom one with a message from a user:

(Some other user didn’t format his code as code, so the post is pretty unreadable and 17 screens long.)

I agree, so I open the post and edit it.
Now I have to close the flag. I do so by clicking “Agree” which brings up this modal:

As I don’t want to hide the post, I click “Agree with flag”.

I get this:

Here is a screenshot of Chrome devtools network panel:

First the flag is hidden, but if I reload the list it appears again.

Here is the response of the failing request in detail:

1 Like

Feels pretty similar to


Possibly can we repro this @eviltrout?

Legit bug, fixed here:


This topic was automatically closed after 27 hours. New replies are no longer allowed.