3.5.0.beta5へのアップグレード後、カテゴリーアイコンTCが動作しない、最近のイベント/チャット統合に関する追加の問題

アップグレード後、インストールされているTCのほとんどが動作しなくなりました。以下はそのリストです。

  • Category Badge Styles
  • Category Icons
  • Colorful Categories
  • Discourse Buttons
  • Discourse Category Banners
  • Discourse Clickable Topic
  • Discourse Mermaid

アップグレード後のログにある唯一のエラー(合計300件ほど)は次のとおりです。

Message (164 copies reported)

[DiscourseJsProcessor] DEPRECATION: The parts property on path nodes is deprecated, use head and tail instead

Backtrace

```activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:130:in `block in warn'
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `block in dispatch'
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `each'
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `dispatch'
activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:130:in `warn'
/var/www/discourse/lib/discourse_js_processor.rb:50:in `block in create_new_context'
/var/www/discourse/lib/discourse_js_processor.rb:89:in `call'
/var/www/discourse/lib/discourse_js_processor.rb:89:in `block in v8_call'
/var/www/discourse/lib/discourse_js_processor.rb:88:in `synchronize'
/var/www/discourse/lib/discourse_js_processor.rb:88:in `v8_call'
/var/www/discourse/lib/discourse_js_processor.rb:113:in `perform'
/var/www/discourse/lib/discourse_js_processor.rb:11:in `transpile'
/var/www/discourse/lib/theme_javascript_compiler.rb:191:in `append_ember_template'
/var/www/discourse/lib/theme_javascript_compiler.rb:170:in `block in append_tree'
/var/www/discourse/lib/theme_javascript_compiler.rb:164:in `each_pair'
/var/www/discourse/lib/theme_javascript_compiler.rb:164:in `append_tree'
/var/www/discourse/app/models/theme.rb:189:in `update_javascript_cache!'
activerecord-7.2.2.1/lib/active_record/relation/delegation.rb:98:in `each'
activerecord-7.2.2.1/lib/active_record/relation/delegation.rb:98:in `each'
/var/www/discourse/app/models/theme.rb:502:in `block (2 levels) in resolve_baked_field'
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:616:in `block in within_new_transaction'
activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:613:in `within_new_transaction'
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:361:in `transaction'
activerecord-7.2.2.1/lib/active_record/transactions.rb:234:in `block in transaction'
activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:415:in `with_connection'
activerecord-7.2.2.1/lib/active_record/connection_handling.rb:296:in `with_connection'
activerecord-7.2.2.1/lib/active_record/transactions.rb:233:in `transaction'
/var/www/discourse/app/models/theme.rb:499:in `block in resolve_baked_field'
/var/www/discourse/lib/distributed_cache.rb:20:in `defer_get_set'
/var/www/discourse/app/models/theme.rb:233:in `get_set_cache'
/var/www/discourse/app/models/theme.rb:492:in `resolve_baked_field'
/var/www/discourse/app/models/theme.rb:402:in `lookup_field'
/var/www/discourse/app/helpers/application_helper.rb:631:in `theme_js_lookup'
/var/www/discourse/app/views/layouts/application.html.erb:56:in `_app_views_layouts_application_html_erb__1837954949798113264_245520'
actionview-7.2.2.1/lib/action_view/base.rb:281:in `public_send'
actionview-7.2.2.1/lib/action_view/base.rb:281:in `_run'
actionview-7.2.2.1/lib/action_view/template.rb:285:in `block in render'
activesupport-7.2.2.1/lib/active_support/notifications.rb:212:in `instrument'
actionview-7.2.2.1/lib/action_view/template.rb:584:in `instrument_render_template'
actionview-7.2.2.1/lib/action_view/template.rb:273:in `render'
rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
actionview-7.2.2.1/lib/action_view/renderer/template_renderer.rb:77:in `block in render_with_layout'
activesupport-7.2.2.1/lib/active_support/notifications.rb:210:in `block in instrument'
activesupport-7.2.2.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
activesupport-7.2.2.1/lib/active_support/notifications.rb:210:in `instrument'
actionview-7.2.2.1/lib/action_view/renderer/template_renderer.rb:75:in `render_with_layout'
actionview-7.2.2.1/lib/action_view/renderer/template_renderer.rb:59:in `render_template'
actionview-7.2.2.1/lib/action_view/renderer/template_renderer.rb:11:in `render'
actionview-7.2.2.1/lib/action_view/renderer/renderer.rb:58:in `render_template_to_object'
actionview-7.2.2.1/lib/action_view/renderer/renderer.rb:31:in `render_to_object'
actionview-7.2.2.1/lib/action_view/rendering.rb:135:in `block in _render_template'
actionview-7.2.2.1/lib/action_view/base.rb:308:in `in_rendering_context'
actionview-7.2.2.1/lib/action_view/rendering.rb:134:in `_render_template'
actionpack-7.2.2.1/lib/action_controller/metal/streaming.rb:258:in `_render_template'
actionview-7.2.2.1/lib/action_view/renderin...

それらのアップデートが利用可能かどうか確認しましたか?

「いいね!」 1

TCのアップデートは再構築時に自動的にインストールされ、はい、すべて最新バージョンです。

開発者コンソールにもう一つエラーがあります。これは最近のイベント/チャット統合に関連しているようです。

backup-codes.js:33 ℹ️ Discourse v3.5.0.beta6-dev — https://github.com/discourse/discourse/commits/89d5cca2af — Ember v5.12.0
backup-codes.js:33 Uncaught Error: Could not find module `discourse/plugins/chat/discourse/components/channel-title` imported from `discourse/plugins/discourse-calendar/discourse/components/discourse-post-event/chat-channel`
    at loader.js:247:1
    at a (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at a (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at a (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at a (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at a (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at y (backup-codes.js:33:1)
    at b (backup-codes.js:33:1)
    at backup-codes.js:33:1
    at g.start (backup-codes.js:33:1)
    at HTMLDocument.<anonymous> (start-discourse-2f46827b.js:3:52)
    at start-discourse-2f46827b.js:6:10
    at start-discourse-2f46827b.js:6:27

チャットプラグインを無効にしていましたが、有効にしたところ、このバナーが表示されました。

Category Icons TCを無効にすると、他のTCは解決しましたが、チャットプラグインを無効にすることができなくなりました(インストール済みプラグインのリストに表示されませんが、有効になっています)。

問題をより適切に説明するためにタイトルを変更します。

Category Icons テーマコンポーネントは#非推奨になりました。コアのカテゴリ絵文字/アイコン機能を使用してください。

他のコンポーネントを無効にして、いずれかが別のコンポーネントを破損させているかどうかをテストしてみてください。

「いいね!」 1

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