# Post content (partially) lost when "Save Reply" fails due to connectivity issues

**URL:** https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315
**Category:** Support
**Created:** [June 2, 2019, 4:17pm UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315 "2019-06-02T16:17:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![RalfJung](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralfjung/32/51654_2.png) [@RalfJung](https://meta.discourse.org/u/RalfJung)
#### Post date: [June 2, 2019, 4:17pm UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/1 "2019-06-02T16:17:53Z")

</div>

When “Save Reply” happens while the internet connection is temporarily down (as just happened to me several times in this train), the content of the post are partially lost.

Steps to reproduce:

- Start writing a reply.
- While writing, cap your internet connection.
- Hit “Save Reply”.
- Some time later, restore your internet connection.

Expected behavior:  
At some point, the “Saving…” process should give up and bring me back to the editor (or at least show a “Cancel” button that does this), so that I can try again to submit my response.

Actual behavior:  
The “Saving…” bar at the bottom just sticks around with a spinning circle endlessly. The “expand” button it shows does nothing when clicked. The only thing I can do is to hit F5, which will restore some prior version of the post (not sure if from a local or a server-side cache) – but my last few sentences are lost.

I just had this happen 4 times in a row. At least the last two times I remembered to manually copy the post content before submitting, but that really should not be necessary.

---

<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: [June 2, 2019, 10:41pm UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/2 "2019-06-02T22:41:35Z")

</div>

> [@RalfJung](#):
>
> Hit “Save Reply”.

Where are you seeing a “Save Reply” button? I am not aware of any such button in Discourse.

Drafts are saved automatically at regular intervals, provided the content has changed and there is enough content to save, beyond the minimum character limits.

---

<div class="post-metadata">

### Author: ![RalfJung](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralfjung/32/51654_2.png) [@RalfJung](https://meta.discourse.org/u/RalfJung)
#### Post date: [June 3, 2019, 7:14am UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/3 "2019-06-03T07:14:07Z")

</div>

> [@codinghorror](#):
>
> Where are you seeing a “Save Reply” button? I am not aware of any such button in Discourse.

Sorry, it’s called just “Reply”.

---

<div class="post-metadata">

### Author: ![RalfJung](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralfjung/32/51654_2.png) [@RalfJung](https://meta.discourse.org/u/RalfJung)
#### Post date: [July 16, 2019, 1:34pm UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/4 "2019-07-16T13:34:33Z")

</div>

I just ran into this again, losing entirely the edits I made to a post because my connection was down when I hit “Save Edit”. Once the connection was back, when I reloaded the page, my edits were just gone. Seemed like when it tried to auto-save on the server there already was no connectivity, and it did not even try to auto-save locally?

---

<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: [July 16, 2019, 11:54pm UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/5 "2019-07-16T23:54:49Z")

</div>

> [@RalfJung](#):
>
> losing entirely the edits I made to a post

Can you describe the time span of this edit in seconds, and how many characters you edited, roughly?

As I mentioned earlier, drafts are automatically saved at regular intervals but it requires a certain duration of editing.

---

<div class="post-metadata">

### Author: ![RalfJung](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralfjung/32/51654_2.png) [@RalfJung](https://meta.discourse.org/u/RalfJung)
#### Post date: [July 17, 2019, 6:12am UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/6 "2019-07-17T06:12:16Z")

</div>

The edit was about adding 2 sentences. Not sure how long that took me, something between 30s and a minute?

So are you saying drafts should be saved locally, in principle? Would it then be possible to trigger another local save just when I press “Save Edit”, to make sure the latest version of saved before irrevocably disabling the editor?

---

<div class="post-metadata">

### Author: ![RalfJung](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralfjung/32/51654_2.png) [@RalfJung](https://meta.discourse.org/u/RalfJung)
#### Post date: [September 10, 2022, 6:48am UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315/7 "2022-09-10T06:48:28Z")

</div>

This is still a problem in the latest discourse (well, whatever [https://internals.rust-lang.org](https://internals.rust-lang.org) is using right now): I just made a new post, and due to a bad internet connection it failed to post. It would just spin forever. After a few minutes I hit F5 to unblock that tab, and had to discover that the last ~30s of typing were lost – there was a locally saved draft, but it was outdated.

Shouldn’t it be easy to update the locally saved draft when hitting “reply”? I would appreciate if Discourse could take into account the needs of people with poor internet connectivity. Currently, this is an area where old forums such as phpBB3 are doing much better than Discourse.
