[クイック引用テーマコンポーネント] JavaScriptエラーのため返信できません

Discourse core の最後のアップデートの後、既存のトピックに返信できない問題が発生しました。

ビデオをここに作成しました: https://www.awesomescreenshot.com/video/21121775?key=935e4aeb9ea8784858e97b37596745dd

表示されるエラーは次のとおりです。

Uncaught (in promise) Error: Cannot read properties of undefined (reading '_RUNTIME_')
    at G (YF7WRCK5.js:1:8735)
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._join (index.ts:646:21)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at e.replyToPost (index.js:665:1)
    at n._sendComponentAction (widget.js:275:1)
    at widget.js:319:1
    at n.rerenderResult (widget.js:291:1)
    at n.sendWidgetAction (widget.js:314:1)
    at n.click (button.js:122:1)
    at hooks.js:222:1
    at hooks.js:188:1
    at n.rerenderResult (widget.js:291:1)
    at S (hooks.js:188:1)
    at HTMLDocument.<anonymous> (hooks.js:222:1)
    at HTMLDocument.dispatch (jquery.js:5135:1)
    at g.handle (jquery.js:4939:1)
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._run (index.ts:665:23)
    at q._join (index.ts:640:19)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at index.js:665:1
    at y._triggerAction (d-button.js:180:1)
    at y.click (d-button.js:144:1)
deprecate-shim.js:33 DEPRECATION: The <discourse@component:plugin-connector::ember81>#attrs computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://deprecations.emberjs.com/v3.x#toc_computed-property-override for more details.
(anonymous) @ deprecate-shim.js:33
deprecate-shim.js:33 DEPRECATION: The <discourse@component:plugin-connector::ember82>#attrs computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://deprecations.emberjs.com/v3.x#toc_computed-property-override for more details.
(anonymous) @ deprecate-shim.js:33
quick-quote-edits.js:22 Uncaught TypeError: this.currentUser.hideUserTipForever is not a function
    at e.replyToPost (quick-quote-edits.js:22:34)
    at q._join (index.ts:646:21)
    at q.join (index.ts:362:17)
    at p (index.js:156:1)
    at index.js:707:1
    at e.flaggedInstrument (index.js:126:1)
    at index.js:706:1
    at e.replyToPost (index.js:665:1)
    at n._sendComponentAction (widget.js:275:1)
    at widget.js:319:1
    at n.rerenderResult (widget.js:291:1)
    at n.sendWidgetAction (widget.js:314:1)
    at n.click (button.js:122:1)
    at hooks.js:222:1
    at hooks.js:188:1
    at n.rerenderResult (widget.js:291:1)
    at S (hooks.js:188:1)
    at HTMLDocument.<anonymous> (hooks.js:222:1)
    at HTMLDocument.dispatch (jquery.js:5135:1)
    at g.handle (jquery.js:4939:1)

どなたかお手伝いいただけますでしょうか? =) どうもありがとうございます!

どういうわけか、ユーザーヒントを気に入らないようです。テストサイトでは再現できません。セーフモードでは機能しますか?

「いいね!」 2

こんにちは @Festinger

このファイルはDiscourseのコアには存在しないため、テーマまたはプラグインの問題だと思われます。Quick Quote Theme Component をインストールしていますか?もしそうであれば、無効にして問題が解決するかどうか試していただけますでしょうか?

(cc @merefield - 最近のコアの変更に伴い、そのテーマにいくつかの調整が必要なようです)

「いいね!」 4

ありがとうございます、
@JammyDodger — 動作しました。やはりテーマコンポーネントに関連していました。

@david – この問題の原因がそれだったことに大変満足しています。テーマコンポーネントを無効にしたところ、問題は解決したようです。本当にありがとうございました。@merefield が修正を提供できることを願っています。=)

「いいね!」 4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.