# 编辑冲突：该帖子已被另一位用户编辑，您的更改无法保存

**URL:** https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749
**Category:** Bug
**Created:** [2021 年6 月 14 日 11:26 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749 "2021-06-14T11:26:15Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2021 年6 月 18 日 12:38 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749/28 "2021-06-18T12:38:36Z")

</div>

我在最近更新的至少 4 个不同的 Discourse 站点上都复现了该问题。

每当我创建新帖子并立即尝试编辑以修正错别字或添加更多内容时，编辑器窗口右下角就会开始显示一个警告，提示与我自己头像存在编辑冲突。

首次保存时，会弹出一个提示，说明帖子无法保存，因为它正被其他用户编辑，但随后会提供“覆盖”按钮。点击该按钮后，帖子即可正常保存。

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2021 年6 月 18 日 13:21 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749/29 "2021-06-18T13:21:36Z")

</div>

我还有一个修复方案正在开发中，在我的测试中，它解决了当你发布内容（通常末尾包含空格）并立即尝试编辑时出现的问题。

> <https://github.com/discourse/discourse/pull/13438>
>
> This fix is similar to ea2833d0d89df9b48c4fc46e422f3e9b713cac00, but
> this time …raw text is updated after the post is created.

编辑：该提交已通过测试。请告诉我是否仍能看到该问题？

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2021 年6 月 18 日 15:51 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749/30 "2021-06-18T15:51:37Z")

</div>

~~好的，让我们看看这是否有效~~

是的，它有效

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [2021 年6 月 18 日 16:10 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749/31 "2021-06-18T16:10:17Z")

</div>

目前看起来不错，但我已经学会要等一天再过早地庆祝胜利！

编辑：这次真的看起来不错。谢谢！

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2021 年6 月 26 日 08:00 UTC](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749/33 "2021-06-26T08:00:55Z")

</div>

此主题已在 4 天后自动关闭，不再允许新回复。

[Previous page](https://meta.discourse.org/t/edit-conflict-that-post-was-edited-by-another-user-and-your-changes-can-no-longer-be-saved/193749.md?page=1)
