Closed
Bug 112892
Opened 24 years ago
Closed 21 years ago
Can't query on bugs where foo@bar.com added comment/CC and bar@foo.com added comment/CC
Categories
(Bugzilla :: Query/Bug List, defect, P2)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: caillon, Assigned: nobody)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
1.71 KB,
patch
|
bbaetz
:
review-
|
Details | Diff | Splinter Review |
Instead of having separate bugs, since they are really the same fix, I am just
keeping the one bug.
Comment 2•24 years ago
|
||
*** This bug has been marked as a duplicate of 96101 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 3•24 years ago
|
||
Re-opening. This query only takes a few seconds but returns Zarro Boogs.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 4•24 years ago
|
||
Problem is we only do one join against added comments, so it checks for a
comment by X and by Y which will not occur. We need to join against the
comments twice in this situation.
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.18
Comment 5•24 years ago
|
||
Query is:
SELECT bugs.bug_id, bugs.groupset, substring(bugs.bug_severity, 1, 3),
substring(bugs.priority, 1, 3), substring(bugs.rep_platform, 1, 3),
map_assigned_to.login_name, substring(bugs.bug_status,1,4),
substring(bugs.resolution,1,4), substring(bugs.short_desc, 1, 60) FROM bugs,
profiles map_assigned_to, profiles map_reporter LEFT JOIN profiles
map_qa_contact ON bugs.qa_contact = map_qa_contact.userid, longdescs
longdescs_, profiles longdescnames_ WHERE ((bugs.groupset & 0) = bugs.groupset )
AND bugs.assigned_to = map_assigned_to.userid AND
bugs.reporter = map_reporter.userid AND longdescs_.bug_id = bugs.bug_id AND
longdescs_.who = longdescnames_.userid AND longdescs_.bug_id =
bugs.bug_id AND longdescs_.who = longdescnames_.userid AND (bugs.product =
'Bugzilla') AND (bugs.bug_status = 'NEW' OR bugs.bug_status =
'ASSIGNED' OR bugs.bug_status = 'REOPENED') AND
(INSTR(LOWER(longdescnames_.login_name), 'matty@chariot.net.au')) AND
(INSTR(LOWER(longdescnames_.login_name), 'justdave@syndicomm.com')) GROUP BY
bugs.bug_id ORDER BY bugs.votes desc, bugs.votes desc,
bugs.votes desc, bugs.votes desc, bugs.short_desc, bugs.votes desc
Comment 6•24 years ago
|
||
OK, added comments can be fixed by changing:
my $table = "longdescs_";
to:
my $table = "longdescs_$id";
and analogously for $ptable. CC is a lot harder because it uses the special
chart. I think putting the results on separate boolean charts would achieve the
desired effects, but there is only one special chart, so this code might need to
be changed to not go through the charting for CC.
Comment 7•24 years ago
|
||
Updated•24 years ago
|
Target Milestone: Bugzilla 2.18 → Bugzilla 2.16
Comment 8•24 years ago
|
||
Attachment #64795 -
Attachment is obsolete: true
Comment 9•24 years ago
|
||
Comment on attachment 64796 [details] [diff] [review]
Without the warning this time.
If you use the checkboxes to search on cc OR commenter, and only one of those
cases is true, with the patch the bug isn't found. (Without, it works fine)
Attachment #64796 -
Flags: review-
Comment 10•24 years ago
|
||
no working patch yet, not a blocker, -> 2.18
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Updated•22 years ago
|
Assignee: endico → nobody
Status: REOPENED → NEW
Comment 11•22 years ago
|
||
nobody@bugzilla.org seems to care about these so they wont make 2.18. If
someone adopts them, they can move them back. Retargetting to 2.20
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Comment 12•21 years ago
|
||
This is fixed in the tip (2.19)
It involved numerous Search.pm fixes
Status: NEW → RESOLVED
Closed: 24 years ago → 21 years ago
Resolution: --- → WORKSFORME
Comment 13•21 years ago
|
||
clearing target of DUPLICATE/WONTFIX/INVALID/WORKSFORME so they'll show up as
untriaged if they get reopened.
Target Milestone: Bugzilla 2.20 → ---
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
•