Duplicating records for hours worked on a user in ticket_change table
|Reported by:||anebi||Owned by:||coling|
Description (last modified by rjollos)
We have installed these modules:
trac-0.11.2.1 timingandestimationplugin_branches_trac0.11-r5257.zip worklogplugin-r5257.zip.
We noticed that there is a problem with duplicating records for work hours per user in table ticket_change in postgresql database. The problem is reproducing this way:
Go to a ticket and press: Start work.
Then without stopping the work, we just change resolution to something (for example Fixed) and apply changes. Then work is stopping and ticket is closing. After then in database i see 2 records for hours.
13 1235734626 anebi hours 0.0 2.81 13 1235734625 anebi comment 4 anebi worked on this ticket for 2 hours, 48 minut... 13 1235734625 anebi hours 0 2.81 13 1235734626 anebi comment 3 - Made some tests with PHPFileNavigator.
You see the hours field and value. They are the same. Only different is timestamp. This happens because worklog is recrded this 1 second before the other record.
Maybe this is problem with timingandestimationplugin plugin. I'm nut sure.
Change History (6)
comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous
- Summary changed from Duplicating records for hours worked on a user in ticket_change table in postgresql to Duplicating records for hours worked on a user in ticket_change table