Project

General

Profile

Calculate %done based on estimated and logged time on Redmine 3.0.2

Added by Peter Drábik almost 9 years ago

Hi,
I am upgraded redmine from 2.3.1 to 3.0.2 and I need help with this feature. I aplicated patch 0001-patch.diff from https://www.redmine.org/issues/13400 and patch does not work properly. When I created new issue, where I enter a parrent issue, redmine crashes.

I have:

Environment:
Redmine version 3.0.2.stable
Ruby version 2.0.0-p645 (2015-04-13) [x86_64-linux]
Rails version 4.2.1
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.12
Git 1.7.2.5
Filesystem
Redmine plugins:
advanced_roadmap_v2 2.4.0
progressive_projects_list 2.0.1
redmine_agile 1.3.8
redmine_checklists 3.1.1
redmine_issue_history 1.0.0
redmine_spent_time 3.0.0
redmine_theme_changer 0.2.0
redmine_wktime 1.8
redmine_work_time 0.3.0
sidebar_hide 0.0.7

The log includes the following error:

NameError (undefined local variable or method `update_done_ratio_from_issue_status' for #<Issue:0x007f6a2ca42408>):
app/models/issue.rb:165:in `create_or_update'
app/controllers/issues_controller.rb:470:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:458:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:184:in `update'

I need your help with this.