imaginary-cloud / redmine_evm

Earned Value Management plugin for Redmine
Other
32 stars 18 forks source link

Parent issues should be excluded in calculation #20

Closed marutosi closed 9 years ago

marutosi commented 11 years ago

list Screenshot

marutosi commented 11 years ago

On Redmine 2.2, parent issue "% Done" and "Estimated time" are disabled. These are generated automatically from leaves. http://www.redmine.org/projects/redmine/repository/entry/tags/2.2.1/app/models/issue.rb#L1217

Screenshot

marutosi commented 11 years ago

"spent hours" is calculated from descendants. http://www.redmine.org/projects/redmine/repository/entry/tags/2.2.1/app/models/issue.rb#L782

marutosi commented 11 years ago

Issues in tree can be on different version. Screenshot

So, calculation should be from only leaves.

gamafranco commented 9 years ago

@nfecastro this issue is crashing EVM. You can use the data from the citiviva project to reproduce it. Thanks!

gamafranco commented 9 years ago

It's fixed now.