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


(Jan P.) #1

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:
image

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

I get this:
image

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:
image


(Jan P.) #2

Feels pretty similar to


(Jeff Atwood) #3

Possibly can we repro this @eviltrout?


(Robin Ward) #5

Legit bug, fixed here:


(Robin Ward) #6

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