Defect #27848

The progress exceeding 99.5% is displayed as 100%

Added by Mizuki ISHIKAWA about 1 year ago. Updated about 1 year 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


Related issues

Related to Redmine - Defect #30949: Roadmap shows 100%, but one of its tasks is still set to 90% Confirmed
Duplicated by Redmine - Defect #29981: "% Done" should be rounded down to the 1 Closed

Associated revisions

Revision 17169
Added by Jean-Philippe Lang about 1 year ago

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

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA about 1 year ago

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

#2 Updated by Go MAEDA about 1 year 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 about 1 year 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 about 1 year ago

  • Target version changed from 3.4.5 to 4.0.0

#5 Updated by Marius BALTEANU 4 months ago

  • Duplicates Defect #29981: "% Done" should be rounded down to the 1 added

#6 Updated by Marius BALTEANU 4 months ago

  • Duplicates deleted (Defect #29981: "% Done" should be rounded down to the 1)

#7 Updated by Marius BALTEANU 4 months ago

  • Duplicated by Defect #29981: "% Done" should be rounded down to the 1 added

#8 Updated by Bernhard Rohloff 6 days ago

  • Related to Defect #30949: Roadmap shows 100%, but one of its tasks is still set to 90% added

Also available in: Atom PDF