Opened 4 years ago

Closed 4 years ago

#7829 closed defect (fixed)

Displayed total hours for milestone is incorrect in roadmap view

Reported by: ali_rantakari Owned by: rjollos
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: ejucovy Trac Release: 0.12


The "total hours" value displayed in the roadmap view is incorrect (literally a fraction of what it should be).

Attachments (1)

patch.diff (1.0 KB) - added by ali_rantakari 4 years ago.
SVN diff of patch to fix the issue

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by ali_rantakari

SVN diff of patch to fix the issue

comment:1 Changed 4 years ago by rjollos

#7502 is a duplicate.

comment:2 Changed 4 years ago by rjollos

  • Cc ejucovy added
  • Owner changed from k0s to rjollos

This patch has a minor problem in that totalhours is an int, and dividing by 3600 introduces rounding errors. Dividing by 3600.0 fixes the issue.

comment:3 Changed 4 years ago by rjollos

  • Status changed from new to assigned

I'm going to go ahead and commit a fix for this as well since it is straightforward and is a major defect in functionality. I hope that is okay with everyone!

comment:4 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [9552]) Total hours was not being summed correctly on the individual Milestone view. Fixes #7829.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.