在Redmine 3.4.2.stable(在Centos7 / Passenger / NginX下,如果有要求的话,我可以提供整个设置,如果需要的话)我新增了两个“问题优先级”:“推迟”和“背景”这应该低于“低”。
这是我创build后看到的页面(“推迟”和“背景”具有最高优先级):
我可以重新sorting如下:
…但我看不出保存更改的方法,而且,如果我重新加载页面顺序,将返回到原来的顺序,这一点毫不奇怪。
同样在“问题”页面中,按照优先级进行sorting时,Redmine会在顶部显示“背景”。
我错过了什么?
我应该检查什么?
原来这是v:3.4.3中已知的一个已知bug。
臭虫报告在这里 ,修复是一个微不足道的一行:
diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb index 985e988bc..e5e3cc3de 100644 --- a/app/controllers/enumerations_controller.rb +++ b/app/controllers/enumerations_controller.rb @@ -105,6 +105,6 @@ class EnumerationsController < ApplicationController def enumeration_params # can't require enumeration on #new action - params.permit(:enumeration => [:name, :active, :is_default])[:enumeration] + params.permit(:enumeration => [:name, :active, :is_default, :position])[:enumeration] end end
感谢“Mischa The Evil”指引我朝着正确的方向发展。