Ticket #6515 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Roadmap total hours not updating

Reported by: frederik.charest@gmail.com Assigned to: k0s
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Adding time to a ticket that existed before the plugin was installed doesn't seem to update the roadmap.

Attachments

Change History

03/28/10 16:01:24 changed by anonymous

For me too.

07/02/10 12:37:06 changed by anonymous

  • status changed from new to closed.
  • resolution set to fixed.

The problem is that in file web_ui.py at line 95 the seconds are transformed into hours, but this is done each time a ticket is processed. So for the first ticket, its total time (in seconds) is added and transformed correctly to the milestone's total time (in hours), but when the next tickets are processed, their time (in seconds) is added to the existing milestone's total time (in hours) and then transformed again in hours. So the preexisting milestone's total time (in hours) is divided by 3600 again.

Fix by putting lines 94 and 95 outside the tickets' for clause.


Add/Change #6515 (Roadmap total hours not updating)




Change Properties
Action