Closed
Bug 215319
Opened 22 years ago
Closed 21 years ago
sql query fails when searching for flag requester
Categories
(Bugzilla :: Attachments & Requests, defect, P2)
Bugzilla
Attachments & Requests
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: mcsmurf, Assigned: myk)
References
Details
Attachments
(1 file)
|
1.93 KB,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
When i do a boolean search for "Flag Requester"->"is equal
to"->"mcsmurf@gmx.net" i get a software error:
Software error:
SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.rep_platform,
map_assigned_to.login_name, bugs.bug_status, bugs.resolution, bugs.short_desc
FROM bugs, profiles AS map_assigned_to, flags flags_0, profiles requesters_0
LEFT JOIN bug_group_map ON bug_group_map.bug_id = bugs.bug_id WHERE
bugs.assigned_to = map_assigned_to.userid AND bugs.bug_id = flags_0.bug_id AND
flags_0.requester_id = requesters_0.userid AND (requesters_0.login_name =
'mcsmurf@gmx.net') AND ((bug_group_map.group_id IS NULL)) GROUP BY bugs.bug_id
ORDER BY bugs.bug_status,bugs.bug_id : Unknown column 'flags_0.requester_id' in
'where clause' at globals.pl line 284.
please reassign to mozilla.org/bugzilla config if this should be specific error
of bugzilla.mozilla.org
Comment 1•22 years ago
|
||
Confirmed on landfill/bugzilla-tip.
Myk: there is no "Flag Requester" in the flags table. It only has "Setter" and
"Requestee". Requestee is not listed at all in the field list for the boolean
charts... is that supposed to be Requestee instead of Requester?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•22 years ago
|
||
*** Bug 189631 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Flags: blocking2.18?
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
Comment 3•21 years ago
|
||
So this is a mislabel in the boolean charts. We actually want "setter" and
"requestee" as options there. "requester" is a subset of "setter" and should be
gettable with a boolean search for "setter is foo" and "flag is bar?" or
something like that.
Updated•21 years ago
|
Flags: blocking2.18? → blocking2.18+
| Assignee | ||
Comment 4•21 years ago
|
||
This patch fixes the problem by changing "requester" to "requestee" in the
appropriate places.
| Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 158357 [details] [diff] [review]
patch v1: fixes problem
Dave, here's a simple fix for a 2.18 blocker. Can you review?
Attachment #158357 -
Flags: review?(justdave)
| Assignee | ||
Updated•21 years ago
|
Whiteboard: patch awaiting review
Updated•21 years ago
|
Attachment #158357 -
Flags: review?(justdave) → review+
Updated•21 years ago
|
Flags: approval2.18+
Flags: approval+
OS: Windows 2000 → All
Hardware: PC → All
| Assignee | ||
Comment 6•21 years ago
|
||
Thanks Dave!
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.303; previous revision: 1.302
done
Checking in Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm
new revision: 1.67; previous revision: 1.66
done
Checking in ../bz218/checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.289.2.5; previous revision: 1.289.2.4
done
Checking in ../bz218/Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm
new revision: 1.57.2.3; previous revision: 1.57.2.2
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•21 years ago
|
Whiteboard: patch awaiting review
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•