项目

一般

简介

插件 » Redmine Require Note 要求用户在问题更新时必须填写说明内容

Redmine Require Note

Redmine默认情况下,编辑问题时不填写说明也可以正常提交问题。但有些业务场景需要用户必须给出具体说明。安装redmine_require_note插件后,如果用户不填写问题说明或者某些字段值变更后不填写说明,Redmine将拒绝提交操作。

发布于: https://www.craftmine.pro
兼容于: Redmine 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.6.*, 2.5.*, 2.4.*, 2.3.*, 2.2.*, 2.1.*, 2.0.*

最新版本: 0.2.1 更新日期: 2024-03-30 18:02

评论

添加评论

李 丽君大约一个月 之前添加

在redmine5.1.2的前端页面显示这个错误

Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

李 丽君大约一个月 之前添加

今天安装在redmine5.1.2上报下面的错误:
I, [2024-03-29T14:47:07.788135 #22009] INFO – : [c53b773f-0cb6-4211-a86d-048ef197f8ad] Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.0ms | Allocations: 3907)
F, [2024-03-29T14:47:07.788960 #22009] FATAL – : [c53b773f-0cb6-4211-a86d-048ef197f8ad]
[c53b773f-0cb6-4211-a86d-048ef197f8ad] ActionView::Template::Error (undefined method `[]' for nil:NilClass):
[c53b773f-0cb6-4211-a86d-048ef197f8ad] 13:
[c53b773f-0cb6-4211-a86d-048ef197f8ad] 14: <fieldset>
[c53b773f-0cb6-4211-a86d-048ef197f8ad] 15: <legend><%= l(:label_issue_attrs_changed) %></legend>
[c53b773f-0cb6-4211-a86d-048ef197f8ad] 16: <%=issue_attrs_options()%>
[c53b773f-0cb6-4211-a86d-048ef197f8ad] 17: </fieldset>
[c53b773f-0cb6-4211-a86d-048ef197f8ad]
[c53b773f-0cb6-4211-a86d-048ef197f8ad] plugins/redmine_require_note/lib/redmine_require_note/patches/settings_helper_patch.rb:11:in `block in issue_attrs_options’
[c53b773f-0cb6-4211-a86d-048ef197f8ad] plugins/redmine_require_note/lib/redmine_require_note/patches/settings_helper_patch.rb:9:in `each’
[c53b773f-0cb6-4211-a86d-048ef197f8ad] plugins/redmine_require_note/lib/redmine_require_note/patches/settings_helper_patch.rb:9:in `issue_attrs_options’
[c53b773f-0cb6-4211-a86d-048ef197f8ad] plugins/redmine_require_note/app/views/require_note/_settings.html.erb:16
[c53b773f-0cb6-4211-a86d-048ef197f8ad] app/views/settings/plugin.html.erb:6
[c53b773f-0cb6-4211-a86d-048ef197f8ad] app/views/settings/plugin.html.erb:4
[c53b773f-0cb6-4211-a86d-048ef197f8ad] lib/redmine/sudo_mode.rb:61:in `sudo_mode’

李 丽君大约一个月 之前添加

@李 丽君 用的rails是6版本

guo hongxing大约一个月 之前添加

https://redmineplugins.cn/issues/646

@李 丽君 下载这个版本 redmine_require_note-0.2.1.zip

guo hongxing大约一个月 之前添加

@李 丽君 好的,我在redmine5.1.2上试下

张 木头5 个月 之前添加

hello,请问可以增加一个基于字段的配置策略吗? relaxed
现在无论是什么字段调整了都需要填写说明,例如指派给其他人或者调整状态都需要写上说明,比较影响工作效率。
可否增加一个可以配置指定字段范围,更新了指定字段范围内的字段,才需要必填说明的功能?

redmineplugins.cn Admin5 个月 之前添加

@张 木头 redmine_require_note-0.2.0 增加了此功能

由 匿名用户 在 5 个月 之前添加

@redmineplugins.cn Admin 字段范围包括自定义字段吗?

redmineplugins.cn Admin5 个月 之前添加

可以,详见 定制 #588

忍者 火影9 个月 之前添加

发现是个全局的插件,应该可以在每个项目单独设置更贴合实际需要灵活应用

redmineplugins.cn Admin9 个月 之前添加

@忍者 火影 很好的建议,可以考虑增加一个基于项目的配置策略。

long peng8 个月 之前添加

@redmineplugins.cn Admin 确实