hron / redmine_subtasks

This is plugin for Redmine for adding subtasks functionality.
53 stars 13 forks source link

incorrect parent task progress calculation #2

Closed brodock closed 15 years ago

brodock commented 15 years ago

If you change progress for a sub-issue and then add another one, the parent task will not recalculate progress based on both's progress (and the estimated time needed to complete)

hron commented 15 years ago

These values calculates every time you see the parent issue. I can't duplicate this.

nwp90 commented 14 years ago

FWIW I found the method used to calculate parent progress (based purely on dates) to bear no relation to reality - I replaced it with something that seems (to me at least) to make much more sense, based on estimated time and logged time. I've put the version with my fixes up at http://github.com/nwp90/redmine_subtasks -- Aleksei, feel free to help yourself as you wish.

nwp90 commented 14 years ago

I see someone else has done similar too - http://github.com/zigzag/redmine_subtasks/commit/dcfdc25659fd33940947f94bebc91f1ba143dfe2