אייקוני קטגוריה TC לא עובדים לאחר שדרוג ל-3.5.0.beta5, בעיות נוספות בשילוב צ'אט/אירוע אחרון

לאחר השדרוג, רוב ה-TC (Tests Cases) המותקנים אינם פועלים יותר, להלן רשימה של חלקם:

  • Category Badge Styles (סגנונות תגי קטגוריה)
  • Category Icons (אייקוני קטגוריה)
  • Colorful Categories (קטגוריות צבעוניות)
  • Discourse Buttons (לחצני Discourse)
  • Discourse Category Banners (באנרים לקטגוריות Discourse)
  • Discourse Clickable Topic (נושא קליקבילי ב-Discourse)
  • Discourse Mermaid (בת הים של Discourse)

השגיאה היחידה ביומנים (כ-300 מהם בסך הכל) לאחר השדרוג היא

הודעה (דווח על 164 עותקים)

[DiscourseJsProcessor] הוצאה משימוש: המאפיין parts בצמתי נתיב הוצא משימוש, השתמש ב-head ו-tail במקום זאת

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

עדכונים עבור TCs מותקנים אוטומטית בבנייה מחדש, וכן, כולם בגרסה העדכנית ביותר.

There is one other error in the developer console, which seems related to the recent event/chat integration:

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

I had chat plugin disabled, but when I enabled it this banner appeared:

Disabling the Category Icons TC resolved the other TCs, but now I cannot disable the Chat plugin (it is missing from the list of installed plugins, but it is enabled).

I’ll change the title to better describe the issue.

The Category Icons theme component is now deprecated. You should use the core category emoji/icons feature.

You could try disabling the other components and testing if one is causing another to break.

לייק 1

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