Closed Bug 686860 Opened 14 years ago Closed 14 years ago

Accurate work hours calculation in a bug list

Categories

(Bugzilla :: Query/Bug List, defect)

4.0.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: Alexei.Volkov, Assigned: Alexei.Volkov)

Details

(Whiteboard: [4.2 and newer not affected])

Attachments

(1 file)

Attached patch Search.pm.patchSplinter Review
User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Build ID: 20110913082900 Steps to reproduce: Bugzilla is running on Apache/2.2.20 (FreeBSD)with a PostgreSQL 8.4.8 database back end. Browse the tickets (search OPEN) and include Actual Hours in the result set. Actual results: Got strange numbers in a Actual Hours column that are close but not equal to the Hours Worked value inside the ticket. Expected results: Actual Hours column shoud have to be equal to the Hours Worked value inside the ticket.
Attachment #560325 - Attachment is patch: true
OS: All → FreeBSD
Hardware: All → x86_64
Comment on attachment 560325 [details] [diff] [review] Search.pm.patch Let's put it in reviewers' radar.
Attachment #560325 - Flags: review?
Attachment #560325 - Flags: review? → review?(mkanat)
Comment on attachment 560325 [details] [diff] [review] Search.pm.patch Oh! Yes! This looks right, thank you! The bug_when is a hold-over from the days when we didn't have a comment_id field.
Attachment #560325 - Flags: review?(mkanat) → review+
Flags: approval4.2+
Flags: approval4.0+
Flags: approval+
OS: FreeBSD → All
Hardware: x86_64 → All
Target Milestone: --- → Bugzilla 4.0
Assignee: query-and-buglist → Alexei.Volkov
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Sorry, but this code no longer exists in 4.2 and 5.0, see bug 601848. Does this mean this problem is fixed there or is a fix still needed?
Flags: approval4.2+
Flags: approval+
Ah, the problem is fixed in those branches. So only 4.0 would need this.
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/Search.pm Committed revision 7655.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [4.2 and newer not affected]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: