Actions
Defect #14798
closedWrong done_ratio calculation for parent with subtask having estimated_hours=0
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Hi there,
this patch corrects a bug in the calculation of the done_ratio value in some edge case.
Ways to reproduce this bug:- Define a parent issue
- Define two subissues on this parent issue
- Set on one subissue estimated_hours to 0
- Close subissue with no estimated_hours -> parent issue has done_ratio = 50%
- Close subissue with estimated_hours set to zero value -> parent issue still has done_ratio = 50%
This patch solves this issue.
@Jean-Philippe: Maybe you or Toshi could take a look at this?
Best regards,
Daniel
Files
Actions