# Bug

**URL:** https://meta.discourse.org/c/contribute/bug/1.md?page=68

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 69

---

## [在选择和未能设置父类目时，不应更新类别选择器](https://meta.discourse.org/t/category-selectors-shouldnt-be-updated-when-selecting-and-failing-to-set-a-parent-category/274324)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 6\
**Last updated:** [2023年十一月27日 14:37 UTC](https://meta.discourse.org/t/category-selectors-shouldnt-be-updated-when-selecting-and-failing-to-set-a-parent-category/274324 "2023-11-27T14:37:14Z")

</div>

在我的示例中，我尝试为一个已经有子类别的类别设置父类别。不出所料，我遇到了错误消息。尽管如此，类别选择器仍会更新，就好像我的操作成功了一样。 通过浏览器中的“上一步”按钮导航回主题列表，然后再返回类别编辑会导致 404。 这些导航问题会一直存在，直到我强制刷新页面。 如果更改未成功，界面不应实时更新以反映该更改。 :slight\_smile:

---

## [Android上浏览器后退功能偶尔出现故障](https://meta.discourse.org/t/browser-back-function-occasionally-broken-on-android/286463)

<div class="topic-metadata">

**Author:** [@ljpp](https://meta.discourse.org/u/ljpp)\
**回覆:** 13\
**Last updated:** [2023年十一月27日 11:42 UTC](https://meta.discourse.org/t/browser-back-function-occasionally-broken-on-android/286463 "2023-11-27T11:42:13Z")

</div>

我目前还无法确定这个问题，或者说不知道根本原因，但由于这破坏了基本的浏览器功能，我不得不提前报告。 最近，大约在一周前，我们的CDCK上出现了一个新问题……

---

## [iOS 应用：查看第一个论坛会清除第二个论坛的通知](https://meta.discourse.org/t/ios-app-viewing-first-forum-erases-notifications-of-second/154329)

<div class="topic-metadata">

**Author:** [@gingerbeardman](https://meta.discourse.org/u/gingerbeardman)\
**回覆:** 26\
**Last updated:** [2023年十一月26日 14:41 UTC](https://meta.discourse.org/t/ios-app-viewing-first-forum-erases-notifications-of-second/154329 "2023-11-26T14:41:07Z")

</div>

更新信息： ▶ 原始报告：

---

## [搜索不喜欢标签名称中的冒号](https://meta.discourse.org/t/search-doesn-t-like-colon-in-name-of-tags/286575)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 6\
**Last updated:** [2023年十一月25日 10:52 UTC](https://meta.discourse.org/t/search-doesn-t-like-colon-in-name-of-tags/286575 "2023-11-25T10:52:57Z")

</div>

我不确定这是否算作一个真正的 bug，或者更像是一个技术限制，但因为搜索的行为不如预期，所以它算是一个 bug :smirk: 我使用的是标签，而不是分类，这也是我…的原因之一

---

## [DiscourseHub 应用的幻影通知](https://meta.discourse.org/t/phantom-notification-in-discoursehub-app/281132)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**回覆:** 30\
**Last updated:** [2023年十一月24日 16:34 UTC](https://meta.discourse.org/t/phantom-notification-in-discoursehub-app/281132 "2023-11-24T16:34:41Z")

</div>

大约一周以来，我的 DiscourseHub 应用中一直显示一个通知（绿色）计数徽章。同样地，在我的主屏幕上，该应用也显示一个数量为 1 的 iOS 更新计数徽章。 在论坛本身我没有未读……

---

## [Meta搜索问题](https://meta.discourse.org/t/issues-with-search-on-meta/285970)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**回覆:** 7\
**Last updated:** [2023年十一月22日 19:09 UTC](https://meta.discourse.org/t/issues-with-search-on-meta/285970 "2023-11-22T19:09:53Z")

</div>

上面的视频显示了两个问题： 当我点击搜索时，它不会加载结果，我必须刷新页面才能加载结果。这似乎与可访问性主题有关。 AI 结果卡片无法点击…

---

## [桌面搜索问题](https://meta.discourse.org/t/trouble-with-desktop-search/285952)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2023年十一月22日 19:11 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952 "2023-11-22T19:11:42Z")

</div>

为了弄清楚背景是否也会干扰桌面模式下的搜索结果，我搜索了“search”。我注意到最初顶部显示了 92 个搜索结果。然而，我只能看到其中的 50 个。不知何故，这…

---

## [语义全页搜索在手机上立即开始](https://meta.discourse.org/t/semantic-full-page-seach-starts-right-away-on-mobiles/285537)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 2\
**Last updated:** [2023年十一月22日 19:17 UTC](https://meta.discourse.org/t/semantic-full-page-seach-starts-right-away-on-mobiles/285537 "2023-11-22T19:17:30Z")

</div>

在桌面端搜索内容时，高级搜索打开后才会启动语义搜索。 在移动设备上，输入开始后会立即启动语义搜索。 这会导致 token 浪费，如果用户停止输入的话……

---

## [GA4 页面浏览量 比 Discourse 页面浏览量 虚高](https://meta.discourse.org/t/ga4-page-views-are-inflated-compared-to-discourse-page-views/285373)

<div class="topic-metadata">

**Author:** [@Shaneod](https://meta.discourse.org/u/Shaneod)\
**回覆:** 12\
**Last updated:** [2023年十一月22日 09:57 UTC](https://meta.discourse.org/t/ga4-page-views-are-inflated-compared-to-discourse-page-views/285373 "2023-11-22T09:57:40Z")

</div>

嗨 Sam，好的，我们忘掉 Adsense 吧。你描述的关于 Discourse 上 Google Analytics 的情况，正是我所理解的。但是，自从我迁移以来，数据显示 Discourse 生成了太多的 PageVi…

---

## [彻底删除无法正常工作](https://meta.discourse.org/t/final-deletion-does-not-work-correctly/272733)

<div class="topic-metadata">

**Author:** [@OrkoGrayskull](https://meta.discourse.org/u/OrkoGrayskull)\
**回覆:** 6\
**Last updated:** [2023年十一月21日 08:35 UTC](https://meta.discourse.org/t/final-deletion-does-not-work-correctly/272733 "2023-11-21T08:35:29Z")

</div>

我已启用“引入永久删除帖子功能”。我可以删除大部分帖子。但是，有些帖子会出现以下消息： 发生错误：此主题已恢复…

---

## [Header Search 和 Categories Navbar TCs 之间的冲突](https://meta.discourse.org/t/clash-between-header-search-and-categories-navbar-tcs/286161)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 0\
**Last updated:** [2023年十一月21日 05:37 UTC](https://meta.discourse.org/t/clash-between-header-search-and-categories-navbar-tcs/286161 "2023-11-21T05:37:20Z")

</div>

不幸的是，头部搜索的搜索结果被类别导航栏覆盖了： 解决方法： 这部分内容应放在桌面CSS中 // 头部搜索和类别导航栏TCs之间UI冲突的临时修复 .flo…

---

## [当强制第二个因素设为 Staff 时，新管理员无法启用2FA](https://meta.discourse.org/t/new-admins-cant-enroll-2fa-when-enforce-second-factor-is-set-to-staff/286042)

<div class="topic-metadata">

**Author:** [@KC1508](https://meta.discourse.org/u/KC1508)\
**回覆:** 8\
**Last updated:** [2023年十一月20日 22:02 UTC](https://meta.discourse.org/t/new-admins-cant-enroll-2fa-when-enforce-second-factor-is-set-to-staff/286042 "2023-11-20T22:02:50Z")

</div>

我的社区最近仅为工作人员启用了2FA，直到今天都没有出现任何问题。一位管理员通知我，当访问 /u/User/preferences/second-factor 时会弹出，但在点击“添加身份验证”时会……

---

## [使用标签图标时，标签描述中的链接未被转义](https://meta.discourse.org/t/links-in-tag-descriptions-aren-t-escaped-when-using-tag-icons/285942)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 5\
**Last updated:** [2023年十一月20日 18:14 UTC](https://meta.discourse.org/t/links-in-tag-descriptions-aren-t-escaped-when-using-tag-icons/285942 "2023-11-20T18:14:36Z")

</div>

当在 Meta 上为链接添加标签描述时，标签显示就会出错：

---

## [管理员 - 自定义 - 文本表现不佳](https://meta.discourse.org/t/admin-customize-text-behaving-badly/285691)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**回覆:** 7\
**Last updated:** [2024年八月2日 06:59 UTC](https://meta.discourse.org/t/admin-customize-text-behaving-badly/285691 "2024-08-02T06:59:41Z")

</div>

在尝试过滤我的聊天机器人提示时，遇到了许多类似的问题。 最奇怪的是，一个安装可以正常运行，而另一个则不行。 以管理员 → 自定义 → 文本中的 chatbot.prompt 的非常简单的过滤器为例： 工作安装： 失败安装： NoMethodError (undefined method \`scan' for {:basic=\>"You are a helpful assistant.", :agent=\>"You …

---

## [用户对主题列表排序时出现错误的初始顺序](https://meta.discourse.org/t/incorrect-initial-order-when-user-sorts-topic-list/285504)

<div class="topic-metadata">

**Author:** [@per1234](https://meta.discourse.org/u/per1234)\
**回覆:** 2\
**Last updated:** [2023年十一月20日 16:22 UTC](https://meta.discourse.org/t/incorrect-initial-order-when-user-sorts-topic-list/285504 "2023-11-20T16:22:18Z")

</div>

优先级/严重性: 中 平台 操作系统 Windows 11 macOS Sonoma 浏览器 Google Chrome 119.0.6045.124 Safari 17.1 (19616.2.9.11.7) Discourse 38e53b5e8eab64225879a1b855bc50242f2791e5 描述： 用户…

---

## [单个图像 \[grid\] 在预览中可用，但在 cooked 中无效](https://meta.discourse.org/t/single-image-grid-works-in-preview-but-not-in-cooked/285768)

<div class="topic-metadata">

**Author:** [@JimmyHoke](https://meta.discourse.org/u/JimmyHoke)\
**回覆:** 25\
**Last updated:** [2023年十一月20日 16:13 UTC](https://meta.discourse.org/t/single-image-grid-works-in-preview-but-not-in-cooked/285768 "2023-11-20T16:13:27Z")

</div>

更新 我已经弄明白了。机器人将所有图像放入一个网格中，但如果只有一张图像，则什么都不显示。 图像已成功生成，但未显示。编辑帖子并预览…

---

## [从管理面板单击主页导致错误](https://meta.discourse.org/t/clicking-home-from-admin-panel-results-in-error/286000)

<div class="topic-metadata">

**Author:** [@haydenjames](https://meta.discourse.org/u/haydenjames)\
**回覆:** 5\
**Last updated:** [2023年十一月20日 15:25 UTC](https://meta.discourse.org/t/clicking-home-from-admin-panel-results-in-error/286000 "2023-11-20T15:25:49Z")

</div>

一旦我点击管理设置，返回论坛时我总是收到此错误。 编辑：唯一更改的是迁移到了一个新的域名。（除了上述错误之外，迁移是成功的） 我在哪里可以找到日志……

---

## [标签信息问题](https://meta.discourse.org/t/tag-information-issue/286088)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 1\
**Last updated:** [2023年十一月20日 15:36 UTC](https://meta.discourse.org/t/tag-information-issue/286088 "2023-11-20T15:36:46Z")

</div>

访问任何 /tag/...，例如 Topics tagged completed，然后点击 i 之后点击徽标以导航回主页。 标签信息仍然是一个空白框，我也无法开始新主题（我认为是因为……

---

## [Replit Forums 搜索结果链接不正常](https://meta.discourse.org/t/search-results-for-replit-forums-not-linking-properly/285906)

<div class="topic-metadata">

**Author:** [@vvithershins](https://meta.discourse.org/u/vvithershins)\
**回覆:** 4\
**Last updated:** [2023年十一月19日 06:04 UTC](https://meta.discourse.org/t/search-results-for-replit-forums-not-linking-properly/285906 "2023-11-19T06:04:11Z")

</div>

我在这里描述了这个问题。(在 Replit 论坛上) 不过，这里似乎运行正常。(在 Discourse Meta 上) 链接中有一个视频能更好地解释这个问题，但我因为是新用户无法在此处发布它……

---

## [尝试重新映射链接时出现错误](https://meta.discourse.org/t/error-on-attempting-to-remap-links/278443)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 6\
**Last updated:** [2023年十一月18日 22:42 UTC](https://meta.discourse.org/t/error-on-attempting-to-remap-links/278443 "2023-11-18T22:42:32Z")

</div>

当我尝试按照 Change the domain name or rename your Discourse 重新映射我最近迁移的实例中的链接时，我遇到了这个错误： root@ehealthforum-nz-syd01-web-only:/var/www/discourse# discourse remap draft.ehealthforum.nz ehealthforum.nz Rewriting all occurrence…

---

## [帖子引用其他主题时发生 Remap 错误](https://meta.discourse.org/t/remap-error-when-a-post-contains-a-quote-from-another-topic/285950)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 0\
**Last updated:** [2023年十一月18日 22:49 UTC](https://meta.discourse.org/t/remap-error-when-a-post-contains-a-quote-from-another-topic/285950 "2023-11-18T22:49:42Z")

</div>

当我根据“更改域名或重命名您的 Discourse”中的说明输入重映射命令时，每当主题包含对另一个主题的引用，我都会收到此错误： 错误：ERROR：重复键值违反唯一约束…

---

## [聊天提及通知性能](https://meta.discourse.org/t/chat-mention-mailer-performance/285665)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 0\
**Last updated:** [2023年十一月16日 08:28 UTC](https://meta.discourse.org/t/chat-mention-mailer-performance/285665 "2023-11-16T08:28:52Z")

</div>

我们有个客户在聊天中启用了 @all 提及功能，涉及两个拥有 1.6 万用户的频道。那可真够“有趣”的！在进行了 19 次 @all 提及后，他们很快就关闭了该功能。但 12 小时后，他们（性能强劲的）系统仍然处于高 CPU 负载状态。这...

---

## [‘delete user self max post count’ 无法接受 ‘-1’ 来禁用](https://meta.discourse.org/t/delete-user-self-max-post-count-not-accepting-1-to-disable/285162)

<div class="topic-metadata">

**Author:** [@Plabforum](https://meta.discourse.org/u/Plabforum)\
**回覆:** 9\
**Last updated:** [2023年十一月16日 02:12 UTC](https://meta.discourse.org/t/delete-user-self-max-post-count-not-accepting-1-to-disable/285162 "2023-11-16T02:12:47Z")

</div>

无法添加“-1”值，因为它不识别“—”

---

## [“现代类别+分组框”子类别中的双框错误](https://meta.discourse.org/t/double-boxes-bug-modern-category-group-boxes-subcategories/285169)

<div class="topic-metadata">

**Author:** [@KCAS](https://meta.discourse.org/u/KCAS)\
**回覆:** 2\
**Last updated:** [2023年十一月13日 16:52 UTC](https://meta.discourse.org/t/double-boxes-bug-modern-category-group-boxes-subcategories/285169 "2023-11-13T16:52:55Z")

</div>

你好， 当使用“现代类别 + 分组框”组件时，在 Air 主题中。默认情况下，它不会显示子类别框。 在类别 \> 设置 \> “显示子类别列表…”中有特定的设置

---

## [Reorder Categories 停止工作了吗？](https://meta.discourse.org/t/reorder-categories-stopped-working/285214)

<div class="topic-metadata">

**Author:** [@sallypf](https://meta.discourse.org/u/sallypf)\
**回覆:** 8\
**Last updated:** [2023年十一月13日 12:32 UTC](https://meta.discourse.org/t/reorder-categories-stopped-working/285214 "2023-11-13T12:32:30Z")

</div>

大家好，在我的论坛 Psychics Forum 上，重新排序类别已停止工作，我怀疑这可能是在最近几次升级后发生的。 当我点击“重新排序类别”菜单时，它没有任何反应。我们该如何修复它？ ……

---

## [当将帖子移动到另一个主题时，并且 discourse 不在 basepath 中 - href 中缺少前缀](https://meta.discourse.org/t/when-moving-posts-to-another-thread-and-discourse-is-not-in-basepath-prefix-is-missing-in-href/283836)

<div class="topic-metadata">

**Author:** [@janbolmeson](https://meta.discourse.org/u/janbolmeson)\
**回覆:** 1\
**Last updated:** [2023年十一月13日 12:10 UTC](https://meta.discourse.org/t/when-moving-posts-to-another-thread-and-discourse-is-not-in-basepath-prefix-is-missing-in-href/283836 "2023-11-13T12:10:04Z")

</div>

先决条件： 我在子文件夹中安装了 Discourse，例如 example.com/forum/ 一个帖子被分割，帖子被移动到另一个主题 预期结果： 链接是：example.com/forum/t/xxxx/12345 o...

---

## [Top 50 Largest Uploads 脚本出错](https://meta.discourse.org/t/top-50-largest-uploads-broken-script/284017)

<div class="topic-metadata">

**Author:** [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**回覆:** 2\
**Last updated:** [2023年十一月13日 10:32 UTC](https://meta.discourse.org/t/top-50-largest-uploads-broken-script/284017 "2023-11-13T10:32:46Z")

</div>

有时我使用 explorer 脚本来查找大型上传。 当我尝试运行查询时 SELECT posts.id AS post\_id, uploads.original\_filename, ROUND(uploads.filesize / 1000000.0, 2) AS size\_in\_mb, uploads.extens…

---

## [升级时出现神秘故障 ("NS\_BINDING\_ABORTED")](https://meta.discourse.org/t/mysterious-failure-ns-binding-aborted-when-upgrading/285203)

<div class="topic-metadata">

**Author:** [@inducer](https://meta.discourse.org/u/inducer)\
**回覆:** 1\
**Last updated:** [2023年十一月12日 22:26 UTC](https://meta.discourse.org/t/mysterious-failure-ns-binding-aborted-when-upgrading/285203 "2023-11-12T22:26:57Z")

</div>

昨天我将我的 Discourse 实例升级到 3.1.3 时，我还将 discourse-solved 插件升级到了这个版本： 重新启动 Discourse 后，我遇到了一个无法访问的网站，出现了我无法解决的故障……

---

## [类别在类别组中不显示](https://meta.discourse.org/t/categories-not-showing-in-category-groups/285548)

<div class="topic-metadata">

**Author:** [@Aizada\_M](https://meta.discourse.org/u/Aizada_M)\
**回覆:** 4\
**Last updated:** [2023年十一月10日 12:26 UTC](https://meta.discourse.org/t/categories-not-showing-in-category-groups/285548 "2023-11-10T12:26:54Z")

</div>

你好！首先，我想感谢您提供了如此出色的主题组件: raised\_hands: 当我得知这个组件时，我立刻把它上传到了我的网站上。我一直在使用这个组件...

---

## [Category-selector.js:73 - 未捕获的类型错误：this.attrs.onChange 不是一个函数](https://meta.discourse.org/t/category-selector-js-73-uncaught-typeerror-this-attrs-onchange-is-not-a-function/284883)

<div class="topic-metadata">

**Author:** [@KCAS](https://meta.discourse.org/u/KCAS)\
**回覆:** 10\
**Last updated:** [2023年十一月10日 11:14 UTC](https://meta.discourse.org/t/category-selector-js-73-uncaught-typeerror-this-attrs-onchange-is-not-a-function/284883 "2023-11-10T11:14:53Z")

</div>

你好， 我们一直在顺利使用“discourse-categories-suppressed”，隐藏了两个分类。当我们选择第三个时，控制台中出现了此错误，并且选择器已损坏。我们可以重置分类…

[上一頁](https://meta.discourse.org/c/contribute/bug/1.md?page=67)

[下一頁](https://meta.discourse.org/c/contribute/bug/1.md?page=69)
