Redmine:问题自定义字段抛出错误

Redmine: issue custom field throws an error

我已经为 Link 类型的问题添加了自定义字段并配置了 URL 模板(如 here 所述):

我希望用户输入的值作为任务 ID 将被格式化为模板,但是当我尝试测试它时这不起作用:

我查看了日志,没有这么翔实的记录:

NoMethodError (undefined method `format_value' for #<IssueUpdateListener:0x0000000006cfbdd0> Did you mean?  format_date):

app/helpers/issues_helper.rb:494:in `show_detail'
app/helpers/issues_helper.rb:429:in `block in details_to_strings'
app/helpers/issues_helper.rb:415:in `each'
app/helpers/issues_helper.rb:415:in `details_to_strings'
plugins/flock_notifications/lib/issue_update_listener.rb:51:in `controller_issues_edit_after_save'
lib/redmine/hook.rb:63:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `block in call_hook'
lib/redmine/hook.rb:60:in `tap' lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:93:in `call_hook'
app/controllers/issues_controller.rb:589:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:575:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:172:in `update'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'

我想,我在使用 URL 模板时出错了还是什么?

堆栈跟踪表明错误是由您的自定义 flock_notifications 插件引起的。此插件(或您使用的插件版本)可能与您的 Redmine 版本不兼容。

您应该通过此报告的首选通信渠道联系插件作者,以便他们修复插件。