编辑后“保存”栏卡住

只有一个实例,我认为我在日志中找到了错误。它似乎与 Discourse Staff Alias 相关。该插件已启用,但在发生此问题的帖子中未使用。

Message (2 copies reported)

LocalJumpError (unexpected return)
lib/plugin/instance.rb:491:in `block in on'
lib/discourse_event.rb:12:in `block in trigger'
lib/discourse_event.rb:12:in `trigger'
lib/post_revisor.rb:659:in `post_process_post'
lib/post_revisor.rb:254:in `revise!'
app/controllers/posts_controller.rb:259:in `update'
app/controllers/application_controller.rb:414:in `block in with_resolved_locale'
app/controllers/application_controller.rb:414:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:369:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:228:in `call'

Backtrace

plugins/discourse-staff-alias/plugin.rb:187:in `block (2 levels) in activate!'
lib/plugin/instance.rb:491:in `block in on'
lib/discourse_event.rb:12:in `block in trigger'
/usr/local/lib/ruby/3.2.0/set.rb:511:in `each_key'
/usr/local/lib/ruby/3.2.0/set.rb:511:in `each'
lib/discourse_event.rb:12:in `trigger'
lib/post_revisor.rb:659:in `post_process_post'
lib/post_revisor.rb:254:in `revise!'
app/controllers/posts_controller.rb:259:in `update'
actionpack (7.0.4.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
2 个赞