操作
Defect #1376
未完了Support for Redmine 3.0
ステータス:
新規(New)
優先度:
通常(Normal)
担当者:
-
対象バージョン:
-
開始日:
2015/04/20
期日:
進捗率:
0%
予定工数:
説明
with Redmine 3, there are some changes whichs causes the plugin not to run.
Under Settings,
I, [2015-04-20T14:07:55.877495 #26326] INFO -- : Completed 500 Internal Server Error in 49ms F, [2015-04-20T14:07:55.878980 #26326] FATAL -- : RuntimeError (There's no setting named commit_fix_done_ratio):
as these settings aren't global anymore, now you can have seperate settings for each tracker.
as workaround i removed
@commit_fix_done_ratio = Setting[:commit_fix_done_ratio] if (!@commit_fix_done_ratio or @commit_fix_done_ratio.empty?) @commit_fix_done_ratio = l(:label_no_change_option) end
from controller/info_controller.rb
Unter Workflow
sql-functions need to be changed, see attached file info_controller.rb
Graphviz
using Graphviz(dot) currently fails, as is_default isn't global anymore, every tracker has now its own is_default status.
as workaround, i always take the status with position =1 ;-)
def create_dot_statuses(statuses, uses) opt = {} str = "" statuses.each {|sts| next unless uses.include?(sts.position) opt.clear if (sts.position == 1) opt['style'] = 'filled' opt['fillcolor'] = quote 'yellow' elsif (sts.is_closed?) opt['style'] = 'filled' opt['fillcolor'] = quote '#D3D3D3' end opt['label'] = quote sts.name str += dot_line(sts.position, opt) } str end
ファイル
Steven Wong さんが約8年前に更新
It seems not work in Redmine 3.2.1
Anyone can fix it to support the 3.2.1?
操作