# 从历史记录编辑共享编辑wiki帖子时出错

**URL:** <https://meta.discourse.org/t/error-when-editing-shared-edit-wiki-post-from-the-history/398145>\
**Category:** Bug\
**Tags:** shared-edits\
**Created:** [2026年三月11日 10:16 UTC](https://meta.discourse.org/t/error-when-editing-shared-edit-wiki-post-from-the-history/398145 "2026-03-11T10:16:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hannahbit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hannahbit/32/546786_2.png) [@hannahbit](https://meta.discourse.org/u/hannahbit)\
**Post date:** [2026年三月11日 10:16 UTC](https://meta.discourse.org/t/error-when-editing-shared-edit-wiki-post-from-the-history/398145/1 "2026-03-11T10:16:21Z")

</div>

你好 👋

我认为我发现了一个与共享编辑维基帖子相关的错误。

场景：

- 一个被转为维基且启用了共享编辑的帖子
- 作为一个既不是原始作者也不是版主的用户（只是一个协作者）
- 打开帖子的历史记录并点击最后一个版本的“编辑帖子”

结果：

- 帖子在“普通”编辑器中打开，而不是协作编辑器中
- 点击“保存编辑”时出现错误提示（“发生了一个错误：抱歉，发生了一个错误。”）
- 放弃更改后，完整的帖子消失/变为空白
- 刷新页面后，帖子才以其原始状态（没有编辑）再次显示

详情：

- 这似乎与返回 422 的 `PUT /t/30/tags` 有关
- 用户没有设置任何标签（主题上没有任何标签），只更改了帖子正文
- 在协作编辑器中无法设置标签，只能在“普通”编辑器中设置

也许当启用共享编辑时，该按钮根本不应该显示？或者应该使用协作编辑器？

---

_[View the full topic](https://meta.discourse.org/t/error-when-editing-shared-edit-wiki-post-from-the-history/398145)._
