# Failing posts still show up as a reply until refresh

**URL:** https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482
**Category:** Bug
**Created:** [04.Ноябрь.2016 09:36:14 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482 "2016-11-04T09:36:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [04.Ноябрь.2016 09:36:14 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482/1 "2016-11-04T09:36:14Z")

</div>

When a post is sent, it is already added to the stream before the server confirms it. If posting fails, for example by hitting a rate limit, it is removed again – but some side effects stay. For example, in the screenshot below, the “3 Replies” is incorrect; since only two posts follow and only one of them (my post) is an actual reply. The two missing “ghost posts” are failed tries to send my post. Reloading fixes this – only the _local_ state is corrupted.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/9/49bde05f7be0bd22732ebaf58c5d0c2334b58902.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [07.Ноябрь.2016 02:45:19 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482/2 "2016-11-07T02:45:19Z")

</div>

Yes, sounds like a subtle bug when unstaging a post.

Note, the rate limits really should never be hit with the narrative bot, so that is the first thing that needs fixing.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Ноябрь.2016 00:40:07 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482/3 "2016-11-08T00:40:07Z")

</div>

I have an easy repro for this

1. reply to any post
2. type said reply using cruise control for awesome, ALL CAPS
3. try to post, notice reply is blocked due to all caps
4. edit to add non-caps
5. post again, notice the post you replied to has “2 replies”

Yes this is only a client side artifact for _that_ user, will go away on refresh and won’t be seen by other users at all.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [10.Ноябрь.2016 03:02:54 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482/4 "2016-11-10T03:02:54Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/531d649a75cac27977ca68f409d7f7ee027d5394](https://github.com/discourse/discourse/commit/531d649a75cac27977ca68f409d7f7ee027d5394)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [11.Ноябрь.2016 03:03:27 UTC](https://meta.discourse.org/t/failing-posts-still-show-up-as-a-reply-until-refresh/52482/5 "2016-11-11T03:03:27Z")

</div>

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