6

This is probably not a very big deal, and there might be a duplicate post here somewhere, but anyways...

Most of the time, when I delete my own post, the post just turns red and I am able to un-delete it if I want. But sometimes (rarely), when I delete my own post, it will show a message saying something like "the post was deleted and cannot be displayed" and it won't let me interact with the post until I refresh the page. I guess there is some kind of race condition between the two events and the message that blocks the post gets triggered first.

Has anyone else experienced this?

1 Answer 1

10

This is more of a result of an AJAX call never completing correctly.

If it does, you get the post in red, if it doesn't, you get the blocking notice.

The blocking notice is a fix to a situation where you delete a post and then... nothing happening - the page didn't turn red, it looked like nothing was deleted.

2
  • Wait, but if the "the post was deleted" message is displayed before the AJAX response comes back, doesn't that mean that that message can be displayed even if the request didn't actually go through? If so, then that seems like a bug; it should instead say something like "the post is being deleted".
    – ruakh
    Mar 16, 2017 at 22:14
  • 1
    @ruakh - I don't think it works exactly like that.
    – Oded
    Mar 16, 2017 at 22:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .