# Bug

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

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

**Page:** 49

---

## [许多导入器中的UploadReference错误](https://meta.discourse.org/t/uploadreference-bug-in-many-importers/337738)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 0\
**Last updated:** [2024年十一月22日 12:24 UTC](https://meta.discourse.org/t/uploadreference-bug-in-many-importers/337738 "2024-11-22T12:24:11Z")

</div>

上周，一位客户联系我们，称在他们进行迁移一周后，只有每篇帖子的最后一张图片仍然显示。我们对此进行了调查，发现了一个问题。 去年，PostUpload 更改为 UploadReference，在提交 https://github.com/discourse/discourse/commit/8a5d97ef3f6f2d29a4e58b325f15b325c7d62986#diff-07ef93e0c499f6a6d5ce34607cb0…

---

## [无法停止AI机器人直播](https://meta.discourse.org/t/cant-stop-ai-bot-streaming/337437)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 10\
**Last updated:** [2024年十一月21日 07:18 UTC](https://meta.discourse.org/t/cant-stop-ai-bot-streaming/337437 "2024-11-21T07:18:05Z")

</div>

您好 :wave: gpt4o mini 似乎失控了，已经持续流式传输了 1 个多小时。每次我点击暂停按钮时，它只会停顿一下，但不会真正停止。温度设置得太高了。有什么办法可以停止它吗？它一直在写随机的东西。:sweat\_smile: 谢谢 :slight\_smile:

---

## [品牌标志和自动暗模式的问题](https://meta.discourse.org/t/problem-with-brand-logo-and-automatic-dark-mode/337265)

<div class="topic-metadata">

**Author:** [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**回覆:** 1\
**Last updated:** [2024年十一月21日 01:33 UTC](https://meta.discourse.org/t/problem-with-brand-logo-and-automatic-dark-mode/337265 "2024-11-21T01:33:14Z")

</div>

我发现了一个 bug。 当勾选“启用自动暗模式配色方案”并且激活暗模式时，Discourse 会正确地从 branding 中获取“logo dark”图像。 但是，如果取消勾选“启用自动暗模式配色方案”并且激活暗模式，Discourse 会从 branding 中使用“logo”，而不是“logo dark”。

---

## [焦点在打开的高级搜索时，搜索不使用 Escape 键关闭](https://meta.discourse.org/t/search-doesnt-close-using-escape-key-when-focus-is-on-open-advanced-search/337178)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 1\
**Last updated:** [2024年十一月20日 17:06 UTC](https://meta.discourse.org/t/search-doesnt-close-using-escape-key-when-focus-is-on-open-advanced-search/337178 "2024-11-20T17:06:54Z")

</div>

重现步骤： 打开搜索（使用快捷键 /） 按一次 tab 键，使焦点移至“打开高级搜索”按钮 尝试通过单击 esc 关闭搜索 预期结果是焦点可以在搜索中的任何位置，并且 esc 按钮将关闭搜索。有趣的是，即使焦点在“打开高级搜索”按钮上，/ 快捷键仍然可以关闭搜索。

---

## [webhook 主题帖子数的差异](https://meta.discourse.org/t/discrepancies-in-webhook-topic-posts-count/292741)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 1\
**Last updated:** [2024年十一月20日 16:27 UTC](https://meta.discourse.org/t/discrepancies-in-webhook-topic-posts-count/292741 "2024-11-20T16:27:06Z")

</div>

我们使用 Discourse 网页钩子 Post Event（当有新回复、编辑、删除或恢复时）。当主题（评论）中的帖子被创建时，它会发送一个网页钩子，我们使用该信息来更新 WP 端的数据。 我注意到，在主题中的一些帖子被删除后，网页钩子在 topic\_filtered\_posts\_count 或 topic\_posts\_count 中发送的数据不准确。只要添加或编辑评论，计数就是正确的。但是，一旦一个或多个评论被删除，这些计数就会开始…

---

## [Bug：无法在下拉菜单中使用箭头键](https://meta.discourse.org/t/bug-unable-to-use-arrow-keys-in-dropdown/337107)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 2\
**Last updated:** [2024年十一月20日 01:51 UTC](https://meta.discourse.org/t/bug-unable-to-use-arrow-keys-in-dropdown/337107 "2024-11-20T01:51:37Z")

</div>

大多数下拉菜单使用向上/向下箭头键，这个只允许制表符

---

## [使用RSS Polling插件时，主题（列表）摘录主题组件导致格式崩溃](https://meta.discourse.org/t/formatting-breaks-when-topic-list-excerpts-theme-component-used-with-rss-polling-plugin/337155)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**回覆:** 1\
**Last updated:** [2024年十一月20日 00:16 UTC](https://meta.discourse.org/t/formatting-breaks-when-topic-list-excerpts-theme-component-used-with-rss-polling-plugin/337155 "2024-11-20T00:16:19Z")

</div>

继续讨论 Topic List Excerpts： 我正在使用 Topic (List) Excerpts 主题组件以及 RSS Polling 插件。 如果在包含 RSS Polling 插件创建的主题的类别上启用了该主题组件，其格式就会损坏。禁用该主题组件后，格式会恢复正常。该主题组件在不包含 RSS 主题的类别中可以正常工作。 问题在于，宽度不是响应式的，而是占据了宽屏的全部宽度，在小屏幕上根本不合适。 我想知道这是否是由…

---

## [在用户资料上可见的隐藏群组成员身份](https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 10\
**Last updated:** [2024年十一月19日 08:14 UTC](https://meta.discourse.org/t/hidden-group-memberships-visible-on-user-profiles/316500 "2024-11-19T08:14:08Z")

</div>

我注意到，即使我无法查看成员的群组，它们仍然会显示在用户个人资料中。 例如，只要您不加入 @new-new-testers，就无法查看该群组的成员： 但是，当您查看成员的用户个人资料时，您仍然可以看到他们是该群组的成员： 但是，当您点击 3 个点以查看所有群组成员身份时，它会被隐藏。 这也影响了即使您是成员但仍不允许您查看成员的群组。

---

## [更改收藏的徽章后出现 FAILED 信息](https://meta.discourse.org/t/changing-favorite-badges-leads-to-failed-message/336839)

<div class="topic-metadata">

**Author:** [@bob\_the\_tomato](https://meta.discourse.org/u/bob_the_tomato)\
**回覆:** 3\
**Last updated:** [2024年十一月19日 01:37 UTC](https://meta.discourse.org/t/changing-favorite-badges-leads-to-failed-message/336839 "2024-11-19T01:37:49Z")

</div>

论坛上的所有内容都很好，以前从未发生过这种情况。

---

## [漏洞：无法通过键盘（"Esc"）或点击模态覆盖关闭模态框](https://meta.discourse.org/t/bug-unable-to-close-modal-using-keyboard-esc-or-clicking-modal-overlay/335849)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 1\
**Last updated:** [2024年十一月18日 20:45 UTC](https://meta.discourse.org/t/bug-unable-to-close-modal-using-keyboard-esc-or-clicking-modal-overlay/335849 "2024-11-18T20:45:18Z")

</div>

在回复帖子时发现了一个 bug： 回复帖子 \> 添加文本 \> 点击关闭 \> 尝试通过点击“Escape”来关闭模态框 \> 尝试通过点击模态框覆盖层来关闭 \> 然后点击模态框的标题并点击“escape”，注意到焦点围绕着标题。接下来，使用鼠标或向上/向下箭头滚动背景。我期望模态框背景是冻结的，不可交互的。 我的期望是，当用户点击覆盖层或按下 escape 时，模态框会关闭，并将焦点返回到用户选择的预期元素（例如，保留编辑会返回到文本框…

---

## [在移动设备上滚动较长的主题时，底部不显示相关主题](https://meta.discourse.org/t/scrolling-longer-topics-on-mobile-doesnt-show-related-topics-at-the-bottom/336642)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 5\
**Last updated:** [2024年十一月18日 04:16 UTC](https://meta.discourse.org/t/scrolling-longer-topics-on-mobile-doesnt-show-related-topics-at-the-bottom/336642 "2024-11-18T04:16:34Z")

</div>

滚动主题，例如： Improved code block sizing & color scheme Creating Custom Flag How can I tell if a particular distribution of the Discourse client is free software? 会导致页面底部不显示“相关主题”。在上述较长的主题中也重现了此问题。 在以下主题中也可能重现： Buttons …

---

## [无法备份或导航到备份](https://meta.discourse.org/t/unable-to-backup-or-navigate-to-backups/335899)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**回覆:** 22\
**Last updated:** [2024年十一月16日 11:11 UTC](https://meta.discourse.org/t/unable-to-backup-or-navigate-to-backups/335899 "2024-11-16T11:11:39Z")

</div>

发生以下情况： 备份失败。 这是日志： undefined method \`start\_with?' for nil /var/www/discourse/app/models/site\_setting.rb:172:in \`use\_dualstack\_endpoint’ /var/www/discourse/lib/s3\_helper.rb:269:in \`s3\_options' /var/www/discourse/lib/b…

---

## [重建问题：\[无法在使用自定义端点的同时设置dual-stack。\]](https://meta.discourse.org/t/rebuild-issue-cannot-set-dual-stack-in-combination-with-a-custom-endpoint/334902)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 13\
**Last updated:** [2024年十一月15日 04:41 UTC](https://meta.discourse.org/t/rebuild-issue-cannot-set-dual-stack-in-combination-with-a-custom-endpoint/334902 "2024-11-15T04:41:58Z")

</div>

你好 :wave: 由于以下问题，无法重建。 I, \[2024-11-07T08:00:56.758061 #1\] INFO -- : cd /var/www/discourse & sudo -E -u discourse bundle exec rake s3:upload\_assets rake aborted! ArgumentError: Cannot set dual-stack in combination with…

---

## [风格指南 = :(](https://meta.discourse.org/t/styleguide/335803)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 10\
**Last updated:** [2024年十一月14日 19:20 UTC](https://meta.discourse.org/t/styleguide/335803 "2024-11-14T19:20:56Z")

</div>

Styleguide 对我来说完全无法访问，并出现大量终端错误。

---

## [使用全屏登录/注册时Google SSO（OAuth）注册失败](https://meta.discourse.org/t/google-sso-oauth-signup-failure-when-using-fullscreen-login-signup/335077)

<div class="topic-metadata">

**Author:** [@MrSleeps](https://meta.discourse.org/u/MrSleeps)\
**回覆:** 2\
**Last updated:** [2024年十一月14日 19:12 UTC](https://meta.discourse.org/t/google-sso-oauth-signup-failure-when-using-fullscreen-login-signup/335077 "2024-11-14T19:12:46Z")

</div>

最近在全新的 VPS 上设置了一个新的 Discourse (Discourse v3.4.0.beta3-dev)。 当我启用 Google OAuth 并前往 /signup 页面，然后使用新的 Google 用户注册时，一切都通过 Google 顺利进行，但是当 OAuth 返回到我的网站时，我在控制台中收到一个 JS 错误： rsvp.js:23 Uncaught TypeError: Cannot read propert…

---

## [无法覆盖文本](https://meta.discourse.org/t/unable-to-override-text/330558)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 5\
**Last updated:** [2024年十一月14日 17:46 UTC](https://meta.discourse.org/t/unable-to-override-text/330558 "2024-11-14T17:46:08Z")

</div>

文本被覆盖，但突然恢复到了原始状态。 然而，被覆盖的文本仍然存在，只是没有显示出来。 撤销并重新应用更改无法解决此问题。 Discourse 3.3.2 stable。

---

## [Github 预览中的锚点应预览锚点位置，而不是文件顶部](https://meta.discourse.org/t/github-preview-with-anchors-should-preview-the-anchor-rather-than-the-top-of-the-file/331474)

<div class="topic-metadata">

**Author:** [@Atemu](https://meta.discourse.org/u/Atemu)\
**回覆:** 2\
**Last updated:** [2024年十一月13日 13:01 UTC](https://meta.discourse.org/t/github-preview-with-anchors-should-preview-the-anchor-rather-than-the-top-of-the-file/331474 "2024-11-13T13:01:42Z")

</div>

当您链接带有锚点的 Github 文件时，Discourse 渲染的预览是从文件顶部开始，而不是从锚点开始。 例如，请参阅： 此预览应显示开发部分，而不是自述文件的顶部。 （不确定这是否真的是一个错误。）

---

## [在页面切换后，邀请页面中的邀请部分问题](https://meta.discourse.org/t/invited-by-section-issue-on-invite-page-after-page-change/334461)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 1\
**Last updated:** [2024年十一月13日 11:54 UTC](https://meta.discourse.org/t/invited-by-section-issue-on-invite-page-after-page-change/334461 "2024-11-13T11:54:12Z")

</div>

你好 :wave: 我注意到页面更改后，“邀请者”部分已损坏。 刷新可以解决此问题，但如果用户点击链接然后返回，可能会感到困惑…… 谢谢 :slight\_smile:

---

## [无法查看TL0组的用户不能创建公共活动](https://meta.discourse.org/t/public-events-cant-be-created-by-users-who-cant-see-tl0-group/279946)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回覆:** 5\
**Last updated:** [2024年十一月13日 10:19 UTC](https://meta.discourse.org/t/public-events-cant-be-created-by-users-who-cant-see-tl0-group/279946 "2024-11-13T10:19:18Z")

</div>

我还有一名用户无法创建活动，他们收到错误“发生错误：无效的允许组。”，并且活动中的允许组是默认的 trust\_level\_0，她在站点设置 discourse post event allowed on groups 中的一个允许组中，有什么想法吗？

---

## [关于 DiscourseHub 的简要要点](https://meta.discourse.org/t/quick-points-about-discoursehub/311028)

<div class="topic-metadata">

**Author:** [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**回覆:** 4\
**Last updated:** [2024年十一月12日 17:24 UTC](https://meta.discourse.org/t/quick-points-about-discoursehub/311028 "2024-11-12T17:24:20Z")

</div>

Bug category is because there are multiple - staff, feel free to move Using external auth launches in Safari, which will result in the “User switched browsers” error: System-wide zoom setting is not respected…

---

## [浏览器在配置正确的情况下（\`X-Frame-Options: SAMEORIGIN\`），仍阻止Discourse在iframe中渲染](https://meta.discourse.org/t/browser-prevents-discourse-from-rendering-in-iframe-despite-proper-configuration-x-frame-options-sameorigin/335746)

<div class="topic-metadata">

**Author:** [@phoulgaux](https://meta.discourse.org/u/phoulgaux)\
**回覆:** 0\
**Last updated:** [2024年十一月12日 11:21 UTC](https://meta.discourse.org/t/browser-prevents-discourse-from-rendering-in-iframe-despite-proper-configuration-x-frame-options-sameorigin/335746 "2024-11-12T11:21:23Z")

</div>

大家好， 我们在应用程序中的 iframe 中嵌入了一个 Discourse 实例，并且运行正常。但是，当未经身份验证的用户尝试访问他们无权访问的页面（不存在或受组限制）时，响应中现在神秘地包含了 X-Frame-Options: SAMEORIGIN，浏览器会阻止 iframe 渲染。 我从 3.3.1 stable 版本开始，一直测试到几乎最新的开发版本（上次测试在上周中旬）。 它运行在我们应用程序的另一个子域上，并配置为嵌入…

---

## [计划报告的PM标题/电子邮件主题使用了错误的姓名字段？](https://meta.discourse.org/t/pm-title-email-subject-of-scheduled-reports-using-the-wrong-name-field/335753)

<div class="topic-metadata">

**Author:** [@T\_Disco](https://meta.discourse.org/u/T_Disco)\
**回覆:** 0\
**Last updated:** [2024年十一月12日 11:56 UTC](https://meta.discourse.org/t/pm-title-email-subject-of-scheduled-reports-using-the-wrong-name-field/335753 "2024-11-12T11:56:27Z")

</div>

计划的 PM/电子邮件报告的标题/主题是否应使用自动化的名称，而不是数据浏览器的查询名称？ 例如： “计划报告 \[自动化名称\]” 而不是： “计划报告 \[数据浏览器查询名称\]” 或者这是故意的？

---

## [确保包含 )) 的链接仍然正常呈现和工作](https://meta.discourse.org/t/ensure-that-links-containing-still-render-and-work-correctly/335205)

<div class="topic-metadata">

**Author:** [@lindsey](https://meta.discourse.org/u/lindsey)\
**回覆:** 2\
**Last updated:** [2024年十一月11日 23:09 UTC](https://meta.discourse.org/t/ensure-that-links-containing-still-render-and-work-correctly/335205 "2024-11-11T23:09:34Z")

</div>

:information\_source: 概述 Discourse 在渲染包含双闭括号 )) 的链接时存在问题，这意味着这些链接在直接添加或粘贴到文本上创建自动文本链接时无法正常工作。 :walking\_woman: 复现步骤 创建一个 URL 中间包含 )) 的链接。例如，meta.discourse.org/?parameter\_one=((value))&parameter\_two=value。 将其原样粘贴到编辑器中。 将相…

---

## [更新或删除 highlight.js 演示链接](https://meta.discourse.org/t/update-or-remove-highlight-js-demo-link/304538)

<div class="topic-metadata">

**Author:** [@yanokwa](https://meta.discourse.org/u/yanokwa)\
**回覆:** 3\
**Last updated:** [2024年十一月11日 19:42 UTC](https://meta.discourse.org/t/update-or-remove-highlight-js-demo-link/304538 "2024-11-11T19:42:36Z")

</div>

在“设置”中的“突出显示的语言”下，如果您单击链接 https://highlightjs.org/static/demo，它会带您到 https://highlightjs.org/not-a-cdn，其中显示…… 请勿将我们用作 CDN。您不应链接到托管在我们网站上的任何资源。由于滥用我们的资源，我们收到了数百万的无效请求。 也许链接应该是 https://highlightjs.org/demo 我相信这里需要更改的相关…

---

## [在安卓版本 v130 的 Microsoft Edge 上无法上传文件](https://meta.discourse.org/t/unable-to-upload-files-on-microsoft-edge-for-android-v130/332303)

<div class="topic-metadata">

**Author:** [@Teafh](https://meta.discourse.org/u/Teafh)\
**回覆:** 5\
**Last updated:** [2024年十一月11日 10:07 UTC](https://meta.discourse.org/t/unable-to-upload-files-on-microsoft-edge-for-android-v130/332303 "2024-11-11T10:07:45Z")

</div>

重现步骤：观看屏幕录制。 其他文件拾取方法也显示为空。 Edge 版本：130.0.2849.46 (官方版本) (64 位)

---

## [更新失败：列 "require\_message" 不存在](https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030)

<div class="topic-metadata">

**Author:** [@TheStealth](https://meta.discourse.org/u/TheStealth)\
**回覆:** 17\
**Last updated:** [2024年十一月11日 01:53 UTC](https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030 "2024-11-11T01:53:27Z")

</div>

Hi, I have been running Discourse without problems for a few years. Today I tried to run an update using ./launcher rebuild app and it fails. Can I get some help decoding the errors from the log below. Thanks sudo ./l…

---

## [Styleguide中的Header图标MIA](https://meta.discourse.org/t/header-icons-in-styleguide-mia/335264)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 3\
**Last updated:** [2024年十一月9日 12:47 UTC](https://meta.discourse.org/t/header-icons-in-styleguide-mia/335264 "2024-11-09T12:47:36Z")

</div>

其他人能在他们的风格指南中看到页眉图标吗？这在生产环境和本地开发环境中都发生了。 \\u003cyour-url\\u003e/styleguide/molecules/header-icons 谢谢

---

## ['按钮'页面上的风格指南错误](https://meta.discourse.org/t/styleguide-bugs-on-buttons-page/335211)

<div class="topic-metadata">

**Author:** [@king\_laurel](https://meta.discourse.org/u/king_laurel)\
**回覆:** 7\
**Last updated:** [2024年十一月8日 18:51 UTC](https://meta.discourse.org/t/styleguide-bugs-on-buttons-page/335211 "2024-11-08T18:51:38Z")

</div>

我是风格指南（以及 discourse）的新手。风格指南似乎存在一些错误，例如一旦进入按钮风格指南，就无法离开，除非刷新页面。我必须出于隐私原因删除我的标题，否则我会显示刷新加载相应页面的内容。 其他事项： 一旦进入按钮风格指南页面，搜索将不再有效 缺少示例（例如 btn-flat） 缺少按钮，如 .btn-quaternary、.btn-tertiary 和 btn-secondary 点击侧边栏会导致页面跳回顶部 …

---

## [自动链接和文档侧边栏](https://meta.discourse.org/t/autolinking-and-doc-sidebar/330937)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 1\
**Last updated:** [2024年十一月8日 18:23 UTC](https://meta.discourse.org/t/autolinking-and-doc-sidebar/330937 "2024-11-08T18:23:58Z")

</div>

看起来自动链接会破坏添加到侧边栏的链接。 例如，在 Administrators Index 这只会将“Data Explorer”添加到侧边栏，而不是“Discourse Data Explorer Power BI integration”，并且链接会带您到有关插件的主题，而不是指南。 Discourse SSO 也会出现这种情况

---

## [聊天插件没有正确处理 backlash 转义字符](https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087)

<div class="topic-metadata">

**Author:** [@itsFufie](https://meta.discourse.org/u/itsFufie)\
**回覆:** 2\
**Last updated:** [2024年十一月8日 13:44 UTC](https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087 "2024-11-08T13:44:09Z")

</div>

我不知道这是设计如此还是其他原因，但不知何故，在聊天中使用反斜杠作为转义字符不起作用 这是一个例子： 这里我可以做到： \*高亮\* \\\\\*高亮\\\\\* 这给了我： 高亮 \\高亮\\ 但是当我尝试在聊天室中做同样的事情时，会发生这种情况： 如果这是设计如此，那么正确的转义字符序列是什么？为什么它不是反斜杠？

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

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