Defect #1376
Support for Redmine 3.0
Status:
新規(New)
Priority:
通常(Normal)
Assignee:
-
Target version:
-
Start date:
04/20/2015
Due date:
% Done:
0%
Estimated time:
Description
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
Files
Updated by Steven Wong almost 5 years ago
It seems not work in Redmine 3.2.1
Anyone can fix it to support the 3.2.1?