Defect #27848

The progress exceeding 99.5% is displayed as 100%

Added by Mizuki ISHIKAWA 24 days ago. Updated 9 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:4.0.0
Resolution:Fixed Affected version:

Description

Steps to reproduce:
  • Create one Issue.
  • Create 200 child issues for that issue.
  • Among 200 child issues, change the status of 199 issues to "closed" and change the status of 1 issue to "new”.
  • When checking the progress rate, it is displayed as 100%.

Since all the issues are not closed, I think that the progress rate should be displayed as 99%.

100_progress_rate.png (216 KB) Mizuki ISHIKAWA, 2017-12-25 07:43

Change_the_progress_rate_to_round_down.patch Magnifier (1.28 KB) Mizuki ISHIKAWA, 2017-12-25 07:53

change_the_progress_rate_to_round_down-v2.patch Magnifier - renamed the test case (1.28 KB) Go MAEDA, 2018-01-08 03:38

Associated revisions

Revision 17169
Added by Jean-Philippe Lang 9 days ago

The progress exceeding 99.5% is displayed as 100% (#27848).

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA 24 days ago

I wrote a patch.
This patch changes the progress rate to round down.

#2 Updated by Go MAEDA 10 days ago

It is really misleading to show "100%" for a parent task which has undone issues. Setting target version to 4.1.0.

I slightly modified the patch, renamed the test case.

#3 Updated by Jean-Philippe Lang 9 days ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from 4.1.0 to 3.4.5
  • Resolution set to Fixed

Committed, thanks.

#4 Updated by Jean-Philippe Lang 9 days ago

  • Target version changed from 3.4.5 to 4.0.0

Also available in: Atom PDF