# Bug

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

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

**Page:** 53

---

## [编辑徽章时的 Bug - 触发器被更改](https://meta.discourse.org/t/bug-when-editing-badges-trigger-is-changed/323620)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**回覆:** 4\
**Last updated:** [2024年九月2日 18:46 UTC](https://meta.discourse.org/t/bug-when-editing-badges-trigger-is-changed/323620 "2024-09-02T18:46:29Z")

</div>

编辑现有徽章时，触发器会更改，导致它总是回到： 当用户更改信任级别时 编辑大量徽章时非常烦人！

---

## [在徽章管理页面保存群组设置时发生错误](https://meta.discourse.org/t/error-occurs-when-saving-group-settings-on-badges-admin-page/324500)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 4\
**Last updated:** [2024年九月2日 15:32 UTC](https://meta.discourse.org/t/error-occurs-when-saving-group-settings-on-badges-admin-page/324500 "2024-09-02T15:32:29Z")

</div>

每当我使用“徽章”管理页面上的组设置模态框中的“保存”按钮时，我都会收到“抱歉，发生错误”的提示。

---

## [上传图片到用户资料失败，原因是 JS 错误](https://meta.discourse.org/t/uploading-images-to-user-profile-failing-due-to-js-error/323331)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 10\
**Last updated:** [2024年九月1日 07:45 UTC](https://meta.discourse.org/t/uploading-images-to-user-profile-failing-due-to-js-error/323331 "2024-09-01T07:45:44Z")

</div>

我不确定这是否相关，但错误似乎与此非常相似：Uploading of video file fails due to JS error 当我 转到 /my/preferences/account 编辑个人资料图片 添加自定义图片 我得到这个： 无论文件是已上传还是未上传，都会发生这种情况。帖子中的上传工作正常。我周末进行了更新。安全模式下也是如此。 我可以在全新安装中重现此问题，但在 meta.discourse…

---

## [Data explorer编辑器未保持光标位置](https://meta.discourse.org/t/data-explorer-editor-not-keeping-cursor-position/324071)

<div class="topic-metadata">

**Author:** [@Alteras](https://meta.discourse.org/u/Alteras)\
**回覆:** 3\
**Last updated:** [2024年八月30日 19:15 UTC](https://meta.discourse.org/t/data-explorer-editor-not-keeping-cursor-position/324071 "2024-08-30T19:15:13Z")

</div>

优先级/严重性: 低-中？ 平台: 在 Firefox 中测试。Discourse 数据探索器插件，从提交 d31d899 - 2024 年 8 月 27 日 开始。 描述: 在数据探索器编辑器中进行编辑时，光标位置在每次内容更改之间不会被记住，而是会移到编辑器的开头。 可复现步骤: 确保数据探索器插件已更新到最新版本 转到管理页面中的数据探索器 创建一个新查询 尝试在编辑器中更改查询 初步分析: 这似乎是由…

---

## ["安装此主题组件"在DiscourseConnect中不起作用](https://meta.discourse.org/t/install-this-theme-component-does-not-work-with-discourseconnect/324186)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 2\
**Last updated:** [2024年八月30日 15:46 UTC](https://meta.discourse.org/t/install-this-theme-component-does-not-work-with-discourseconnect/324186 "2024-08-30T15:46:07Z")

</div>

启用 DiscourseConnect 使用“安装此主题组件”按钮 收到奇怪的错误消息 其他变体是（取决于 discourse\_connect\_url） Excon::Error::TooManyRedirects Expected(\[200, 302\]) \<=\> Actual(301 Moved Permanently)

---

## [旗帜模态框中指南的错误网址渲染](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002)

<div class="topic-metadata">

**Author:** [@th21](https://meta.discourse.org/u/th21)\
**回覆:** 5\
**Last updated:** [2024年八月30日 08:07 UTC](https://meta.discourse.org/t/wrong-url-rendering-for-guidelines-in-flag-modal/323002 "2024-08-30T08:07:27Z")

</div>

https://meta.discourse.org/t/group-owner-admin-or-system/%{base\_path}/guidelines 将重定向到404页面

---

## [禁用IMDSv1时，备份到S3失败](https://meta.discourse.org/t/backups-to-s3-fail-when-imdsv1-disabled/324006)

<div class="topic-metadata">

**Author:** [@nskerl](https://meta.discourse.org/u/nskerl)\
**回覆:** 0\
**Last updated:** [2024年八月29日 16:17 UTC](https://meta.discourse.org/t/backups-to-s3-fail-when-imdsv1-disabled/324006 "2024-08-29T16:17:52Z")

</div>

Backups fail to write to S3 when IMDSv1 is disabled and the setting “s3 use iam profile” is enabled. As an internal security requirement, we disabled the use of IMDSv1 on the EC2 instance hosting our Discourse installat…

---

## [DiscoTOC 在列表中的标题不起作用](https://meta.discourse.org/t/discotoc-doesnt-work-with-headings-in-lists/308570)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年八月29日 08:10 UTC](https://meta.discourse.org/t/discotoc-doesnt-work-with-headings-in-lists/308570 "2024-08-29T08:10:49Z")

</div>

在阅读 Discourse AI 时，我注意到 TOC 组件存在一个问题。在阅读“Embeddings”段落后，TOC 会折叠。这似乎是由接下来的两个标题属于列表引起的。

---

## [用户自定义字段下拉菜单混乱](https://meta.discourse.org/t/user-custom-fields-dropdown-field-getting-scrambled/144741)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 2\
**Last updated:** [2024年八月29日 07:50 UTC](https://meta.discourse.org/t/user-custom-fields-dropdown-field-getting-scrambled/144741 "2024-08-29T07:50:02Z")

</div>

I’ve got a UCF dropdown with 31 options, in a carefully curated order. After saving, the bottommost 4 went to the top, and all the rest shuffle down. The editing was in Chrome on a Win 10 machine. This occurred again af…

---

## [点击帖子中的链接然后返回会导致帖子高度显示不正确](https://meta.discourse.org/t/clicking-on-links-in-posts-and-go-back-makes-incorrect-post-height/271708)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 5\
**Last updated:** [2024年八月29日 06:30 UTC](https://meta.discourse.org/t/clicking-on-links-in-posts-and-go-back-makes-incorrect-post-height/271708 "2024-08-29T06:30:15Z")

</div>

你好 :waving\_hand: 如果我点击主题帖子中的内联链接并返回到主题，那么帖子的高度计算就不正确（更高）。 重现步骤： 转到例如这个主题 Do we need a help button on the composer? - #13 by Don 点击该主题上的链接：新用户提示 使用浏览器或操作系统原生导航返回该主题。或者点击帖子下方的返回链接。 在桌面视图上 在移动视图上 …

---

## [升级在重复键错误（"在帖子ID和URL MD5上索引帖子热链媒体"）时失败](https://meta.discourse.org/t/upgrade-fails-on-duplicate-key-error-index-post-hotlinked-media-on-post-id-and-url-md5/226002)

<div class="topic-metadata">

**Author:** [@axfelix](https://meta.discourse.org/u/axfelix)\
**回覆:** 9\
**Last updated:** [2022年五月4日 14:05 UTC](https://meta.discourse.org/t/upgrade-fails-on-duplicate-key-error-index-post-hotlinked-media-on-post-id-and-url-md5/226002 "2022-05-04T14:05:43Z")

</div>

自动重建失败，看起来是这个问题的一些变体： 2022-05-03 15:30:54.370 UTC \[1262\] discourse@discourse LOG: duration: 1707.909 ms statement: INSERT INTO post\_hotlinked\_media (post\_id, url, status, upload\_id, created\_at, updated\_at) SEL…

---

## [在合并页面浏览量工具提示中显示的\[object Object\]](https://meta.discourse.org/t/object-object-shown-in-consolidated-pageviews-tooltip/323609)

<div class="topic-metadata">

**Author:** [@corneliusroemer](https://meta.discourse.org/u/corneliusroemer)\
**回覆:** 1\
**Last updated:** [2024年八月28日 11:05 UTC](https://meta.discourse.org/t/object-object-shown-in-consolidated-pageviews-tooltip/323609 "2024-08-28T11:05:12Z")

</div>

合并的页面浏览量工具提示显示 \[object Object\]，这很可能不是预期的 这在 3.4.0.beta1-dev (ac5964c402) 上 大约 6 小时前，我用几乎默认的设置重新启动了页面。

---

## [手机版时间线错误（附视频）](https://meta.discourse.org/t/timeline-bug-on-mobile-video-attached/323633)

<div class="topic-metadata">

**Author:** [@sok777](https://meta.discourse.org/u/sok777)\
**回覆:** 3\
**Last updated:** [2024年八月27日 19:19 UTC](https://meta.discourse.org/t/timeline-bug-on-mobile-video-attached/323633 "2024-08-27T19:19:41Z")

</div>

我在 Meta 和其他 Discourse 实例上注意到，在移动设备上使用时间线（特别是浮动时间线）时，选择一个帖子进行导航后，全屏视图（.timeline-fullscreen）会按预期移除“show”类，但时间线仍然在屏幕底部可见。 您必须再次单击它，浮动时间线才能完全正确地重新出现。 这种行为感觉可能与事件传播问题或类似问题有关。有人遇到过这种情况吗，或者有已知的解决方法吗？ 提前感谢！

---

## [通过添加图片或图标而不是两者来消除错误信息](https://meta.discourse.org/t/getting-rid-of-error-message-by-adding-image-or-icon-instead-of-both/322896)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 3\
**Last updated:** [2024年八月26日 18:32 UTC](https://meta.discourse.org/t/getting-rid-of-error-message-by-adding-image-or-icon-instead-of-both/322896 "2024-08-26T18:32:48Z")

</div>

当您在选择图像或图标之前意外提交正在创建的徽章时，您必须同时添加两者才能消除错误消息并允许保存。我认为添加其中一个就足够了。

---

## [编号列表中的新行导致跳转到编辑器底部](https://meta.discourse.org/t/new-line-in-a-numbered-list-causes-a-jump-to-the-bottom-of-the-composer/316612)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 4\
**Last updated:** [2024年八月26日 16:33 UTC](https://meta.discourse.org/t/new-line-in-a-numbered-list-causes-a-jump-to-the-bottom-of-the-composer/316612 "2024-08-26T16:33:08Z")

</div>

在长文本的编号列表中添加新行时，编辑器会滚动到最底部。

---

## [CSS变更通知器崩溃](https://meta.discourse.org/t/css-change-notifier-crashed/323378)

<div class="topic-metadata">

**Author:** [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**回覆:** 4\
**Last updated:** [2024年八月26日 12:49 UTC](https://meta.discourse.org/t/css-change-notifier-crashed/323378 "2024-08-26T12:49:05Z")

</div>

我能帮你排查这个错误吗？ 在开发服务器上更新我的 .scss 文件时，我遇到了以下错误，并且需要手动重新加载页面才能看到更改。 CSS change notifier crashed No such file or directory @ rb\_sysopen - /home/overgrow/discourse/app/assets/stylesheets/discourse-custom-plugin.scss 这是一个在 p…

---

## [已观看单词未显示条目](https://meta.discourse.org/t/watched-words-not-displaying-entries/322556)

<div class="topic-metadata">

**Author:** [@putty](https://meta.discourse.org/u/putty)\
**回覆:** 3\
**Last updated:** [2024年八月26日 11:50 UTC](https://meta.discourse.org/t/watched-words-not-displaying-entries/322556 "2024-08-26T11:50:06Z")

</div>

我正在尝试添加已观看词条，但它们没有显示。偶尔当我输入新词条时它们会显示，但当我刷新页面时它们就会消失。唯一检查的方法是下载文件。

---

## [关于团队请求的漏洞？](https://meta.discourse.org/t/bug-with-group-requests/315353)

<div class="topic-metadata">

**Author:** [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**回覆:** 8\
**Last updated:** [2024年八月26日 10:01 UTC](https://meta.discourse.org/t/bug-with-group-requests/315353 "2024-08-26T10:01:19Z")

</div>

有时点击群组标签查看是否有未完成的入群请求时，请求出现时，带有消息的框会上下晃动，直到我导航到另一个页面。 不知道如何重现它，甚至无法在我们托管的 Discourse 网站上展示它。我想我可以用我的 iPhone 录个视频。 :slight\_smile: 供参考，我正在使用 Microsoft Edge 在戴尔 Win 11 笔记本电脑上访问它。

---

## [分配时无法搜索用户](https://meta.discourse.org/t/unable-to-search-for-users-when-assigning/322934)

<div class="topic-metadata">

**Author:** [@putty](https://meta.discourse.org/u/putty)\
**回覆:** 1\
**Last updated:** [2024年八月26日 08:39 UTC](https://meta.discourse.org/t/unable-to-search-for-users-when-assigning/322934 "2024-08-26T08:39:52Z")

</div>

assign 函数不允许我搜索用户。如果用户包含在建议的用户中，我可以分配，但我无法搜索其他人。

---

## [用户字段要求（2）](https://meta.discourse.org/t/user-field-requirement-2/318968)

<div class="topic-metadata">

**Author:** [@Eloïse\_Barrège](https://meta.discourse.org/u/Elo%C3%AFse_Barr%C3%A8ge)\
**回覆:** 7\
**Last updated:** [2024年八月26日 07:35 UTC](https://meta.discourse.org/t/user-field-requirement-2/318968 "2024-08-26T07:35:34Z")

</div>

你好 一些用户（并非全部）在填写字段时会收到错误消息，尽管他们已设置为“注册时”模式，并且对于那些已经存在很长时间的用户，我已经启用了“可编辑”。但什么也没发生。您能否帮助我确保这些强制性的注册字段不会影响老会员？ 问题未解决且已链接：

---

## [在更新主题组件#2时出现“空字符串不是有效的JSON字符串”错误](https://meta.discourse.org/t/an-empty-string-is-not-a-valid-json-string-when-updating-theme-component-2/321820)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 1\
**Last updated:** [2024年八月26日 02:01 UTC](https://meta.discourse.org/t/an-empty-string-is-not-a-valid-json-string-when-updating-theme-component-2/321820 "2024-08-26T02:01:10Z")

</div>

与此问题相同，但这次是针对 Custom Header Links 也许这在服务器端处理更好，而不是在各个主题组件中修复？ lib/theme\_settings\_manager/objects.rb:13:in \`parse' lib/theme\_settings\_manager/objects.rb:13:in \`value=' app/models/theme.rb:760:in \`update\_setting' app/mod…

---

## [上传视频文件失败，原因是 JS 错误](https://meta.discourse.org/t/uploading-of-video-file-fails-due-to-js-error/322363)

<div class="topic-metadata">

**Author:** [@dubwoc](https://meta.discourse.org/u/dubwoc)\
**回覆:** 18\
**Last updated:** [2024年八月24日 22:20 UTC](https://meta.discourse.org/t/uploading-of-video-file-fails-due-to-js-error/322363 "2024-08-24T22:20:38Z")

</div>

我知道 Discourse 通常不用于上传视频，但在此情况下，我遇到一个问题，希望有人能指引我如何解决。 某些上传的视频文件会无限期地卡在“上传中 100%”。用户唯一能做的就是刷新页面或关闭帖子。无论等待多久，无论文件大小如何。 很明显，有一些代码在进行某种形式的验证或检查，导致文件卡住。我对 Ruby On Rails / Discourse 开发不太熟悉，所以还没弄清楚文件在哪个环节卡住了。不过，我已经找到了一种绕过问题并成功…

---

## [字幕变得疯狂](https://meta.discourse.org/t/captioning-goes-nuts/323079)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 5\
**Last updated:** [2024年八月23日 20:09 UTC](https://meta.discourse.org/t/captioning-goes-nuts/323079 "2024-08-23T20:09:18Z")

</div>

我正在愉快地回复一个帖子，当我插入一张图片时，它卡了很长时间，然后出现了几十个奇怪的标题。

---

## [徽章在编辑表单中失去了它们的图片，无法编辑](https://meta.discourse.org/t/badges-lost-their-images-in-edit-forms-cannot-edit-them/322680)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**回覆:** 8\
**Last updated:** [2024年八月23日 16:59 UTC](https://meta.discourse.org/t/badges-lost-their-images-in-edit-forms-cannot-edit-them/322680 "2024-08-23T16:59:17Z")

</div>

自从我更新论坛软件后，如果我尝试编辑徽章，图像就不见了。“选择图标”被选中，如果我更改为“上传图像”，则为空。 如果我想编辑徽章，它将丢失其图像，除非我重新上传。这将是一项艰巨的任务，因为我有大量的徽章。 对此有修复方法吗？

---

## [删除徽章后显示“你没有提交你的更改！你确定要离开吗？”](https://meta.discourse.org/t/you-didnt-submit-your-changes-are-you-sure-you-want-to-leave-after-deleting-the-badge/322990)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年八月23日 12:58 UTC](https://meta.discourse.org/t/you-didnt-submit-your-changes-are-you-sure-you-want-to-leave-after-deleting-the-badge/322990 "2024-08-23T12:58:58Z")

</div>

继续关于通过添加图像或图标而不是两者来摆脱错误消息的讨论： 我对徽章界面进行了一些实验，遇到了另一个问题：一个损坏的徽章编辑页面停留在顶部，当我导航到其他地方时，新页面出现在那个损坏的页面下方。 我不记得我最初是如何做到这一点的。无论如何，我通过以下步骤重现了它： 创建一个新徽章 选择一个状态和一个图标 提交徽章 编辑某些内容，例如状态或徽章类型 决定你已完成测试，因此点击“删除”按钮 回答“你确定要删除徽章吗？”时选择“是” 然…

---

## [Link Click Counter 未统计内部链接点击次数或匹配不一致的 slug](https://meta.discourse.org/t/link-click-counter-not-counting-clicks-for-internal-links-or-mismatched-slugs/235434)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 1\
**Last updated:** [2024年八月22日 17:01 UTC](https://meta.discourse.org/t/link-click-counter-not-counting-clicks-for-internal-links-or-mismatched-slugs/235434 "2024-08-22T17:01:17Z")

</div>

点击计数器在某些特定情况下停止计数： 当主题标题在链接被包含在回复后被更改时（即 slug 不匹配） 例如：Replace 'Master' placeholder text for 'Main' in install theme modal 当使用了内部链接（/t/SLUG/123456) 而不是完整链接时。 例如：/t/discourse-new-user-guide/96331 之前在 Click count…

---

## [Android 上下文菜单遮挡了 Composer AI 助手](https://meta.discourse.org/t/android-context-menu-covers-up-the-composer-ai-helper/321392)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 30\
**Last updated:** [2024年八月22日 15:41 UTC](https://meta.discourse.org/t/android-context-menu-covers-up-the-composer-ai-helper/321392 "2024-08-22T15:41:54Z")

</div>

部分继续此主题：AI helper has disappeared in composer 你好 :waving\_hand: 我认为这只会影响 Android，因为上下文菜单会出现在所选文本的顶部。现在 AI 助手也出现在顶部位置，这使得它大部分时间都无法使用。 在顶行它对齐得很好，但与气泡之间缺少距离。 否则它会出现在顶部位置 谢谢 :slightly\_smiling\_face:

---

## [用户注销事件未在Webhook中触发](https://meta.discourse.org/t/user-log-out-event-not-triggered-in-webhooks/249464)

<div class="topic-metadata">

**Author:** [@regmsif](https://meta.discourse.org/u/regmsif)\
**回覆:** 2\
**Last updated:** [2024年八月22日 13:50 UTC](https://meta.discourse.org/t/user-log-out-event-not-triggered-in-webhooks/249464 "2024-08-22T13:50:17Z")

</div>

我正在将 Discourse 与 SSO 提供商集成，并且我希望使用“user\_logged\_out” webhook 在用户从 Discourse 注销时让他们注销。但是，当点击下拉菜单中的“Log Out”按钮时，注销事件并未触发。登录事件和更新事件可以正常触发。

---

## [翻译缺失：en.dashboard.problem.deprecated\_linked\_in\_auth](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-deprecated-linked-in-auth/317655)

<div class="topic-metadata">

**Author:** [@BryanV](https://meta.discourse.org/u/BryanV)\
**回覆:** 11\
**Last updated:** [2024年八月21日 20:49 UTC](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-deprecated-linked-in-auth/317655 "2024-08-21T20:49:26Z")

</div>

在最近更新到 3.3.0.beta5-dev (a267c0727d) 后，我在管理员仪表板中收到此持续的警告/错误（刷新无济于事）： 请注意，作为更新的一部分，我已完全删除旧的 linked up 插件，现在所有内容都显示为最新： 此外，登录时链接根本没有启用： 如何才能让此错误消息消失？

---

## [通知面板显示](https://meta.discourse.org/t/notification-panel-display/322739)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**回覆:** 0\
**Last updated:** [2024年八月21日 15:36 UTC](https://meta.discourse.org/t/notification-panel-display/322739 "2024-08-21T15:36:08Z")

</div>

当我在支持类别主题中点击我的头像时，面板没有显示。只显示通知，如下所示。 这是在 Meta 上使用 Air 主题在移动 Pixel 8 上。 与预期相比 似乎有点不一致，因为它有时在其他页面上也会出现这种情况。

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

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