# Bug

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

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

**Page:** 39

---

## [OpenAI 组织未被识别](https://meta.discourse.org/t/openai-organization-not-being-recognized/337606)

<div class="topic-metadata">

**Author:** [@MachineScholar](https://meta.discourse.org/u/MachineScholar)\
**回覆:** 4\
**Last updated:** [2025年四月24日 08:54 UTC](https://meta.discourse.org/t/openai-organization-not-being-recognized/337606 "2025-04-24T08:54:03Z")

</div>

Getting a consistent OpenAI error 401 “No such organization” even though it is correctly configured in the LLM settings. What’s interesting is that this error is only occurring on two jobs: Jobs::HotTopicsGistBatch ▶ Jo…

---

## [Discourse AI 创建用户错误](https://meta.discourse.org/t/discourse-ai-create-user-error/312281)

<div class="topic-metadata">

**Author:** [@Truest](https://meta.discourse.org/u/Truest)\
**回覆:** 5\
**Last updated:** [2025年四月24日 05:13 UTC](https://meta.discourse.org/t/discourse-ai-create-user-error/312281 "2025-04-24T05:13:42Z")

</div>

消息（已报告 9 条） RuntimeError (用户已存在) app/controllers/application\_controller.rb:422:in \`block in with\_resolved\_locale' app/controllers/application\_controller.rb:422:in \`with\_resolved\_locale' lib/middleware/omniauth\_bypass\_mi…

---

## [AI机器人按钮下拉菜单在文本仍被选中时无法打开](https://meta.discourse.org/t/ai-bot-button-dropdown-doesnt-open-if-text-is-still-selected/305688)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回覆:** 2\
**Last updated:** [2025年四月24日 05:11 UTC](https://meta.discourse.org/t/ai-bot-button-dropdown-doesnt-open-if-text-is-still-selected/305688 "2025-04-24T05:11:37Z")

</div>

一个小错误，但花了我一些时间才弄清楚，尤其是在移动设备上。如果您从论坛复制一些文本粘贴到 AI 机器人中，很可能会发生这种情况。 重现步骤 选择文本 \> 点击 AI 机器人按钮 \> 没有出现下拉菜单，但“引用/复制引用”部分正在“刷新” 预期行为 取消选择并打开模态下拉菜单。

---

## [当我开始与AI对话时，没收到回答！](https://meta.discourse.org/t/when-i-start-a-conversation-with-the-ai-i-do-not-receive-an-answer/285902)

<div class="topic-metadata">

**Author:** [@kuaza](https://meta.discourse.org/u/kuaza)\
**回覆:** 8\
**Last updated:** [2025年四月24日 05:10 UTC](https://meta.discourse.org/t/when-i-start-a-conversation-with-the-ai-i-do-not-receive-an-answer/285902 "2025-04-24T05:10:40Z")

</div>

当我与人工智能机器人开始对话，并请求对一个示例主题提供支持时，我没有收到答复。示例如下： 如果我用普通文本提问，它会回答。但是，如果我分享链接，它就不会响应。

---

## [子文件夹网站的链接未正确生成](https://meta.discourse.org/t/links-not-generated-properly-for-subfolder-site/278007)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**回覆:** 2\
**Last updated:** [2025年四月24日 05:09 UTC](https://meta.discourse.org/t/links-not-generated-properly-for-subfolder-site/278007 "2025-04-24T05:09:19Z")

</div>

我们遇到了一个问题，机器人搜索我们的网站时生成的所有链接都没有考虑到我们的子文件夹配置。这是已知的吗？

---

## [Discourse AI 错误（Gemini 1.5）](https://meta.discourse.org/t/discourse-ai-error-gemini-1-5/312280)

<div class="topic-metadata">

**Author:** [@Truest](https://meta.discourse.org/u/Truest)\
**回覆:** 5\
**Last updated:** [2025年四月24日 05:08 UTC](https://meta.discourse.org/t/discourse-ai-error-gemini-1-5/312280 "2025-04-24T05:08:01Z")

</div>

Discourse AI 插件出现“undefined method \`dig’ for nil:NilClass”错误 在使用 Discourse AI 插件时，我遇到了以下错误： 错误消息： Job exception: undefined method \`dig' for nil:NilClass 位置： /var/www/discourse/plugins/discourse-ai/lib/completions/en…

---

## [GPT 3.5 turbo 仍然无法用于人工智能期刊报告](https://meta.discourse.org/t/gpt-3-5-turbo-still-not-working-for-ai-periodical-reports/293762)

<div class="topic-metadata">

**Author:** [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)\
**回覆:** 4\
**Last updated:** [2025年四月24日 05:06 UTC](https://meta.discourse.org/t/gpt-3-5-turbo-still-not-working-for-ai-periodical-reports/293762 "2025-04-24T05:06:59Z")

</div>

大家好，我更新了我的插件，但 GPT 3.5 turbo 仍然无法工作 Message (3 copies reported) Error running LLM report! : DiscourseAi::Completions::Llm::UNKNOWN\_MODEL : DiscourseAi::Completions::Llm::UNKNOWN\_MODEL Backtrace /var/www/discourse/p…

---

## [开始新的AI机器人对话会删除PM草稿](https://meta.discourse.org/t/start-new-ai-bot-conversation-removes-pm-draft/336927)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 5\
**Last updated:** [2025年四月24日 05:04 UTC](https://meta.discourse.org/t/start-new-ai-bot-conversation-removes-pm-draft/336927 "2025-04-24T05:04:26Z")

</div>

你好 :wave: 我注意到当我开始一个新的 AI 机器人私信时，它会删除之前保存的私信草稿。我知道当开始新的私信时，草稿会发生这种情况，但我认为最好能将 AI 消息和其它私信草稿分开。 所以，这实际上并不是普通私信的 bug，因为在打开编辑器时会有警告。对于 AI，我认为这是一个 bug，因为用户不一定会认为它的工作方式相同，而且没有任何警告等…… 重现步骤： 创建一个私信草稿 开始一个新的 AI 机器人消息 之前保存的私信…

---

## [工作异常：使用 AI 机器人时出现 \`finish\` 方法在 nil 上未定义](https://meta.discourse.org/t/job-exception-undefined-method-finish-for-nil-when-using-ai-bot/344935)

<div class="topic-metadata">

**Author:** [@sohrabbehdani](https://meta.discourse.org/u/sohrabbehdani)\
**回覆:** 2\
**Last updated:** [2025年四月24日 05:01 UTC](https://meta.discourse.org/t/job-exception-undefined-method-finish-for-nil-when-using-ai-bot/344935 "2025-04-24T05:01:14Z")

</div>

您好，我最近安装了 discourse ai 插件，并将其配置为使用自定义的 openai 兼容 api (jabirproject.org)。 它在总结帖子方面运行正常，但作为 ai 聊天机器人则不行。 发送消息时会显示此错误： Job exception: undefined method \`finish' for nil 这是回溯： Message (6 copies reported) Job exception:…

---

## [翻译者将话题翻译成不同的语言！](https://meta.discourse.org/t/translator-translates-topic-into-different-language/363074)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 2\
**Last updated:** [2025年四月23日 05:48 UTC](https://meta.discourse.org/t/translator-translates-topic-into-different-language/363074 "2025-04-23T05:48:31Z")

</div>

这与 Meta 的新翻译功能有关，该功能可自动翻译主题，但我非常确定以下内容是一个错误。 进入一个主题后，根据创建日期旁边的翻译图标上的消息，该主题似乎不是用英语写的，而是用芬兰语写的。 然而，我认为由于翻译器的原因，整个帖子现在是用西班牙语写的。 点击底部的翻译按钮（我不知道它有什么作用）后，帖子会被翻译成英语，并且上述翻译图标会消失。 那么，帖子肯定不是应该被翻译成西班牙语吧？其他帖子似乎是从其原始语言翻译成英语，但这个帖…

---

## [指向S3上的数据导出链接未使用CDN URL](https://meta.discourse.org/t/link-to-data-export-on-s3-does-not-use-cdn-url/268573)

<div class="topic-metadata">

**Author:** [@nodomain](https://meta.discourse.org/u/nodomain)\
**回覆:** 5\
**Last updated:** [2025年四月23日 13:47 UTC](https://meta.discourse.org/t/link-to-data-export-on-s3-does-not-use-cdn-url/268573 "2025-04-23T13:47:04Z")

</div>

当您使用指向 S3 的 CDN URL 并创建数据导出时，导出的链接将使用 S3 URL 生成，因此下载会失败。 请在此处也使用 CDN URL。

---

## [被禁言的用户可以通过匿名模式绕过限制](https://meta.discourse.org/t/silenced-user-can-circumvent-it-entering-anonymous-mode/320052)

<div class="topic-metadata">

**Author:** [@ValdikSS](https://meta.discourse.org/u/ValdikSS)\
**回覆:** 17\
**Last updated:** [2025年四月23日 08:39 UTC](https://meta.discourse.org/t/silenced-user-can-circumvent-it-entering-anonymous-mode/320052 "2025-04-23T08:39:44Z")

</div>

当用户被禁言时，进入匿名模式可以不受限制地发帖。 Discourse 3.3.0.beta6

---

## [模板组允许私人模板中的“Everyone”会禁用它](https://meta.discourse.org/t/everyone-in-template-groups-allowed-private-templates-disables-it/362943)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 3\
**Last updated:** [2025年四月23日 08:04 UTC](https://meta.discourse.org/t/everyone-in-template-groups-allowed-private-templates-disables-it/362943 "2025-04-23T08:04:52Z")

</div>

当“Everyone”被添加到 discourse\_templates\_groups\_allowed\_private\_templates 时，除了管理员之外，所有人的功能都会中断。 所以“Everyone, trust\_level\_0”不起作用，而“trust\_level\_0”起作用。 罪魁祸首： :scream: :scream: return false if group\_id == 0 :scream: :scream: …

---

## [Data Explorer 中缺失查询计划](https://meta.discourse.org/t/missing-query-plans-in-data-explorer/363061)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2025年四月23日 06:02 UTC](https://meta.discourse.org/t/missing-query-plans-in-data-explorer/363061 "2025-04-23T06:02:57Z")

</div>

在使用数据浏览器时，我最近想知道“包含查询计划”是做什么用的。所以我启用它来找出答案——但我没有注意到任何变化。 所以我问了一个我多年来学到很多的人，他分享了一个截图，展示了它应该是什么样子。我很好奇为什么它不起作用，所以我检查了一下，注意到请求发送中包含了 explain: true\[1\]，但响应中没有包含\[2\]。所以我试图弄清楚它在哪里丢失了。有一次我问了 ChatGPT，因为我不确定接下来该看哪里。它非常有帮助，引导我完成…

---

## [PM 标签的不一致代码/需求](https://meta.discourse.org/t/inconsistent-code-requirements-for-pm-tagging/362931)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 0\
**Last updated:** [2025年四月22日 08:14 UTC](https://meta.discourse.org/t/inconsistent-code-requirements-for-pm-tagging/362931 "2025-04-22T08:14:18Z")

</div>

处理个人消息标签的代码不一致。 在代码库的某些部分，位于 pm\_tags\_allowed\_for\_groups 中就足以标记个人消息。 而在代码库的其他部分，则需要同时位于 pm\_tags\_allowed\_for\_groups 和 tag\_topic\_allowed\_groups 中。 当用户需要能够标记自己的个人消息，但又不希望他们标记公开主题时（例如：Private template permissions to overrid…

---

## [尝试取消星标'Bug Reporter'徽章时出现'FAILED'错误](https://meta.discourse.org/t/failed-error-when-trying-to-un-star-the-bug-reporter-badge/330523)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 10\
**Last updated:** [2025年四月22日 07:59 UTC](https://meta.discourse.org/t/failed-error-when-trying-to-un-star-the-bug-reporter-badge/330523 "2025-04-22T07:59:47Z")

</div>

尝试移除我的“Bug Reporter”徽章上的星标以使用其他徽章作为我最喜欢的徽章时，我收到了一个“失败”的错误。其他徽章可以取消星标（这是个词吗？），但这个徽章无法取消星标。

---

## [AI助手卡在生成中](https://meta.discourse.org/t/ai-helper-stuck-generating/362643)

<div class="topic-metadata">

**Author:** [@MachineScholar](https://meta.discourse.org/u/MachineScholar)\
**回覆:** 7\
**Last updated:** [2025年四月21日 21:07 UTC](https://meta.discourse.org/t/ai-helper-stuck-generating/362643 "2025-04-21T21:07:17Z")

</div>

出于某种原因，AI 助手一直卡在“生成中”窗口，从未完成，并且 AI 助手的每个选项都会出现这种情况。但是，AI 机器人可以正常工作。我也没收到任何错误日志，所以似乎无法隔离问题。因此，这是关于此错误的帖子。 我的实例已完全更新。

---

## [聊天中，管理员群组显示有22名成员，但实际上只有8名](https://meta.discourse.org/t/in-chat-moderators-group-appears-to-have-22-members-when-it-only-has-8/349799)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 5\
**Last updated:** [2025年四月21日 20:30 UTC](https://meta.discourse.org/t/in-chat-moderators-group-appears-to-have-22-members-when-it-only-has-8/349799 "2025-04-21T20:30:44Z")

</div>

我觉得 Moin 发现了聊天系统的一个 bug。另外，我觉得这里有一个功能建议。目前没有一个群组设置来确定哪些成员可以与特定群组发起私聊。这很……

---

## [組搜索被識別為密碼欄位（Firefox）](https://meta.discourse.org/t/group-search-is-being-detected-as-a-password-field-firefox/362399)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回覆:** 2\
**Last updated:** [2025年四月21日 03:34 UTC](https://meta.discourse.org/t/group-search-is-being-detected-as-a-password-field-firefox/362399 "2025-04-21T03:34:26Z")

</div>

在 Firefox 中，群组用户名搜索被识别为密码字段： 您知道是什么原因造成的吗？我想在 Google Chrome 浏览器上检查时，并没有出现这个问题。

---

## [断链会重定向到“拒绝访问”页面而不是404页面](https://meta.discourse.org/t/broken-links-redirect-to-the-access-denied-page-instead-of-404/346619)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 2\
**Last updated:** [2025年四月15日 23:56 UTC](https://meta.discourse.org/t/broken-links-redirect-to-the-access-denied-page-instead-of-404/346619 "2025-04-15T23:56:02Z")

</div>

访问错误的帖子 URL，例如 https://meta.discourse.org/t/modifying-style-attribute-dynamically-on -topic-list-item/346415/2（注意空格），会导致以下问题： 重新加载后，会发生这种情况： 链接应该直接跳转到第二个图像中显示的页面，而不是第一个图像中显示的页面。 @merefield 和我都注意到在 Many pages uni…

---

## [注册后不允许编辑](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**回覆:** 3\
**Last updated:** [2025年四月15日 18:31 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529 "2025-04-15T18:31:03Z")

</div>

我为县创建了一个自定义用户字段 目前下拉菜单中有 2 个可用选项。无法更改县选项。下拉菜单在偏好设置\\配置文件中不起作用。 并且在使用 graceful 主题时，它会创建页面的滚动副本。运行默认主题时，按钮下拉菜单根本不起作用。 运行测试已通过，截至今天已完全更新。

---

## [我无法保存对网站文本的编辑](https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990)

<div class="topic-metadata">

**Author:** [@songs](https://meta.discourse.org/u/songs)\
**回覆:** 6\
**Last updated:** [2025年四月15日 07:18 UTC](https://meta.discourse.org/t/i-cant-save-edit-on-site-texts/360990 "2025-04-15T07:18:41Z")

</div>

我进行任何编辑都不重要，保存按钮无法工作？

---

## [即使为空，群组收件箱和存档也可见](https://meta.discourse.org/t/group-inboxes-and-archives-are-visible-even-when-empty/331482)

<div class="topic-metadata">

**Author:** [@alehandrof](https://meta.discourse.org/u/alehandrof)\
**回覆:** 10\
**Last updated:** [2025年四月14日 14:07 UTC](https://meta.discourse.org/t/group-inboxes-and-archives-are-visible-even-when-empty/331482 "2025-04-14T14:07:18Z")

</div>

大家好， 我们的网站上有许多旧群组，它们的收件箱或存档中没有任何消息，但它们仍然显示在侧边栏和 /my/messages 页面上。 我找到了这个旧帖子，但它没有提供适合我的解决方案：Messaging: Group inboxes and archives show even after all messages deleted 还有其他建议吗？

---

## [阅读模式对语法高亮代码块不均匀应用字体大小](https://meta.discourse.org/t/reader-mode-unevenly-applying-font-size-to-syntax-highlighted-code-block/361298)

<div class="topic-metadata">

**Author:** [@Alteras](https://meta.discourse.org/u/Alteras)\
**回覆:** 0\
**Last updated:** [2025年四月10日 17:21 UTC](https://meta.discourse.org/t/reader-mode-unevenly-applying-font-size-to-syntax-highlighted-code-block/361298 "2025-04-10T17:21:25Z")

</div>

优先级/严重性: very low 平台: All 描述: 阅读器模式字体大小错误地定位到语法高亮的代码块： 高亮文本的字体大小增加到 16px，而未高亮的文本保持正常的 14px。 重现步骤: 找到/创建一个带有语法高亮代码块的帖子 启用阅读器模式 预期结果: 代码块中的字体大小应保持一致，整体内容移动应最小化。

---

## [Lightbox 生成无效的 HTML 结构（div 在 p 内），导致显示错误](https://meta.discourse.org/t/lightbox-generates-invalid-html-structure-div-inside-p-causing-display-errors/360706)

<div class="topic-metadata">

**Author:** [@panic](https://meta.discourse.org/u/panic)\
**回覆:** 2\
**Last updated:** [2025年四月10日 03:50 UTC](https://meta.discourse.org/t/lightbox-generates-invalid-html-structure-div-inside-p-causing-display-errors/360706 "2025-04-10T03:50:05Z")

</div>

Lightbox 为每个图像生成一个 \<div\> 标签，但根据 HTML 规范，\<div\> 标签不能放在 \<p\> 标签内（\<p\> 标签的内容模型是“短语内容”，它不包含 \<div\>）。这会导致浏览器关闭这些 div 并将其移出 \<p\> 标签。之后的内容也会被移出 \<p\> 标签，在某些环境中会引发问题。例如： \[details="details" open\] !\[random image|690x388\](upload://2gkjgw…

---

## [较小屏幕上自定义CSS“保存”按钮的问题](https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505)

<div class="topic-metadata">

**Author:** [@alltiagocom](https://meta.discourse.org/u/alltiagocom)\
**回覆:** 15\
**Last updated:** [2025年四月9日 20:21 UTC](https://meta.discourse.org/t/issue-with-custom-css-save-button-on-smaller-screens/358505 "2025-04-09T20:21:45Z")

</div>

我在 13 英寸的屏幕上看到的全屏/展开模式（这是我窗口的最底部）： 选择“显示高级选项”后，甚至连这个都没有：

---

## [活动名称中的引号会清除与会者](https://meta.discourse.org/t/quotes-in-event-name-clears-attendees/360010)

<div class="topic-metadata">

**Author:** [@dsims](https://meta.discourse.org/u/dsims)\
**回覆:** 3\
**Last updated:** [2025年四月8日 13:13 UTC](https://meta.discourse.org/t/quotes-in-event-name-clears-attendees/360010 "2025-04-08T13:13:02Z")

</div>

如果在我的 Discourse Calendar (and Event) 事件名称中加入引号，例如 Event name: RSVP “Going” to join 保存时会导致 PUT /posts/123 出现 500 错误（可能是由于 markdown 损坏），但糟糕的是，所有与会者似乎都已从事件中被清除。 注意：这与 Discourse Livestream 一起使用，但我认为这无关紧要。

---

## [iOS Hub 应用中的主题切换器工作不正常](https://meta.discourse.org/t/theme-switcher-not-working-properly-in-ios-hub-app/360796)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**回覆:** 0\
**Last updated:** [2025年四月7日 20:08 UTC](https://meta.discourse.org/t/theme-switcher-not-working-properly-in-ios-hub-app/360796 "2025-04-07T20:08:48Z")

</div>

继续关于“帮助我们测试 Horizon，我们最新的主题”的讨论： 我试用了 Horizon，注意到主题的下拉列表滚动不符合预期。至少在查看主题时，屏幕的其他部分会滚动，而不是主题列表。 这并不是 Horizon 的问题，因为在默认主题上也是同样的情况。

---

## [创建新主题时出现内部服务器错误](https://meta.discourse.org/t/internal-server-error-when-creating-new-topic/360719)

<div class="topic-metadata">

**Author:** [@Roi](https://meta.discourse.org/u/Roi)\
**回覆:** 2\
**Last updated:** [2025年四月7日 14:58 UTC](https://meta.discourse.org/t/internal-server-error-when-creating-new-topic/360719 "2025-04-07T14:58:19Z")

</div>

我昨天晚上升级了 Discourse。现在发现创建新主题时会显示内部服务器错误。编辑器仍然存在，所有内容都会保存为草稿，并且新主题仍然会被创建。 在日志中我可以看到： ArgumentError (参数数量错误 (给定 2，预期 1)) app/controllers/posts\_controller.rb:752:in backwards\_compatible\_json' lib/plugin/instance.rb:409:i…

---

## [仪表盘新帖统计数据损坏](https://meta.discourse.org/t/dashboard-new-posts-statistics-broken/352599)

<div class="topic-metadata">

**Author:** [@Roi](https://meta.discourse.org/u/Roi)\
**回覆:** 30\
**Last updated:** [2025年四月6日 23:45 UTC](https://meta.discourse.org/t/dashboard-new-posts-statistics-broken/352599 "2025-04-06T23:45:19Z")

</div>

大家好， 自从大约一两周前的最近一次升级后，仪表盘上的新帖子统计信息出现了问题。它现在不再显示任何内容。这个问题只发生在我这里，还是一个普遍的bug？我在这里搜索后没有找到相关信息。 此致

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

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