Redmine:问题自定义字段引发错误

Redmine:问题自定义字段引发错误,redmine,issue-tracking,Redmine,Issue Tracking,我已经为链接类型和配置的URL模板添加了自定义字段(如上所述): 我希望用户输入的值作为任务ID将被格式化为模板,但当我尝试测试它时,这不起作用: 我查看了日志,但没有这样的信息记录: NoMethodError (undefined method `format_value' for #<IssueUpdateListener:0x0000000006cfbdd0> Did you mean? format_date): app/helpers/issues_helper.

我已经为
链接
类型和配置的URL模板添加了自定义字段(如上所述):

我希望用户输入的值作为任务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'
NoMethodError(未定义的#你的意思是#格式化#日期)方法'format#u value':
app/helpers/issues\u helper.rb:494:in'show\u detail'
app/helpers/issues\u helper.rb:429:in`block in details\u to\u strings'
app/helpers/issues_helper.rb:415:在'each'中
app/helpers/issues_helper.rb:415:in'details_to_strings'
plugins/flock\u notifications/lib/issue\u update\u listener.rb:51:in'controller\u issues\u edit\u after\u save'
lib/redmine/hook.rb:63:in'block(2层)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\u hook'
lib/redmine/hook.rb:93:in'call\u hook'
app/controllers/issues\u controller.rb:589:in`block in save\u issue\u with\u child\u records'
app/controllers/issues\u controller.rb:575:在“使用子记录保存问题”中
app/controllers/issues_controller.rb:172:在“更新”中
lib/redmine/sudo_模式。rb:65:处于“sudo_模式”


我猜,我在使用URL模板或其他什么时出错了?

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


你应该通过他们喜欢的交流渠道与插件作者联系,以便他们能够修复插件。

这对我来说似乎是一个bug,请随时在@AleksandarPavić上报告,我没有在那里注册,你能自己报告吗(因为你参与了其中)?在我的4.1 Redmine上,它按预期工作。你的版本是什么?@AleksandarPavić你能提供你的配置截图吗?4.1.1与您的相同。。。一旦我抓紧时间,我就可以在4.1.1上进行测试。。。