# 尝试从“无标签”主题列表页面创建新主题时，会自动设置名为“无”的标签

**URL:** <https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923>\
**Category:** Bug\
**Created:** [2022年六月3日 10:43 UTC](https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923 "2022-06-03T10:43:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2022年六月3日 10:43 UTC](https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923/1 "2022-06-03T10:43:03Z")

</div>

我不确定这是一个错误还是一个用户体验问题。它在我的论坛上让我感到困惑，并且我可以在 [try.discourse.org](http://try.discourse.org) 上重现它。

发生的情况是，如果您在主题列表的标签选择器中选择了“无标签”，然后尝试创建新主题，则作曲家中的标签字段会自动预填充一个名为“none”的标签。即使您是管理员，它也会因为“标签无效”的错误消息而阻止发布该主题。

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/6/e/16e9166bfc9c21eafa0e56e21e80a6812be4a42a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/4/8/6481ae209e941d7dc015870e97dd4964ef514fa1.png)

* * *

视频示例：

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年六月4日 11:00 UTC](https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923/2 "2022-06-04T11:00:19Z")

</div>

我可以复制这个。👍（如果需要的话 🙂）

- 从“最新”页面下拉菜单中选择“无标签”
- 创建“新主题”
- 主题已预先填充了无效的“无”标签
- 必须手动删除无效的“无”标签后才能发布主题

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2022年六月4日 22:36 UTC](https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923/3 "2022-06-04T22:36:59Z")

</div>

👍 确实抓得好，谢谢。这应该能解决问题（预计下周合并）：

> <https://github.com/discourse/discourse/pull/16998>

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2022年六月11日 22:37 UTC](https://meta.discourse.org/t/none-named-tag-automatically-set-when-trying-to-create-a-new-topic-from-a-no-tags-topic-list-page/228923/4 "2022-06-11T22:37:09Z")

</div>

此主题在最后回复 7 天后自动关闭。不再允许新回复。
