Closed Bug 1067810 Opened 10 years ago Closed 10 years ago

Review history page displays the wrong duration

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: emorley, Assigned: dylan)

References

Details

Attachments

(1 file, 1 obsolete file)

eg on: https://bugzilla.mozilla.org/page.cgi?id=review_history.html&requestee=emorley%40mozilla.com The entry for bug 969123 says 7 hours, whereas in the bug, the review+ was 3 minutes after the review request.
And bug 994359 was listed as having duration 8 hours, but in the bug shows 27 mins.
This bug is present after the latest landing (not sure if the other bug was supposed to fix this).
This is caused by bug 1070317. New flag activity records will have the correct date (because we bypass $flag->modification_date) but the historical data is wrong.
Assignee: nobody → dylan
Status: NEW → ASSIGNED
Depends on: 1070317
No longer depends on: 1070317
Depends on: 1070317
Attached image post-data-fixup.png (obsolete) —
After correcting for the timezone error, I am able to find the timestamps for all canceled flags, except in the case where a user has been renamed. Screenshot demonstrating this for Ed Morley's review history.
Attachment #8495523 - Attachment is obsolete: true
Created tracking bug for this. We're going to have to deal with the incorrect data for now. As a fix, I think we can filter out anything before 2014-09-23. We'll keep the data, and maybe we'll come up with a clever solution.
See Also: → 1073364
As we cannot fix the data right now, we should hide it. This patch hides all review history that happened before this week's push.
Attachment #8496216 - Flags: review?(dkl)
Blocks: 1072209
Comment on attachment 8496216 [details] [diff] [review] bug-1067810-v1.patch Review of attachment 8496216 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl
Attachment #8496216 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git 84b390d..977ba8b master -> master
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Extensions: Review → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: