Closed Bug 312700 Opened 19 years ago Closed 16 years ago

Deadline field can't be searched in collectstats or whining

Categories

(Bugzilla :: Query/Bug List, defect)

2.20
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 455099

People

(Reporter: wicked, Unassigned)

Details

Even if the user that created whining or collectstats series has permission to use timetracking fields, which includes deadline, the search will not honor deadline criteria. This is because line 349 of Bugzilla/Search.pm doesn't use the passed user but rather the global, undefined, user to check timetracking group membership.
Are you talking about this line? if (Bugzilla->user->in_group(Param('timetrackinggroup'))){ You suggest that collectstats.pl should consider time related fields in all cases?
(In reply to comment #1) > Are you talking about this line? > if (Bugzilla->user->in_group(Param('timetrackinggroup'))){ Yes. It needs to use the passed user object.
Depends on: CVE-2010-1204
Whiteboard: [blocker will fix]
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
This may no longer be a valid bug? On my system with Bugzilla 3.0 installed, I have a saved search that's using the Deadline in the boolean fields to send reminder emails as the date approaches, then more often on the day the deadline is reached. And the whine e-mails are coming through just fine.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
No longer depends on: CVE-2010-1204
Whiteboard: [blocker will fix]
You need to log in before you can comment on or make changes to this bug.