Closed
Bug 264192
Opened 20 years ago
Closed 20 years ago
Cannot search where BugsThisDependsOn or OtherBugsDependingOnThis is empty
Categories
(Bugzilla :: Query/Bug List, defect, P3)
Bugzilla
Query/Bug List
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: nicko, Assigned: bugreport)
References
Details
Attachments
(1 file, 1 obsolete file)
1.51 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Cannot search where BugsThisDependsOn or OtherBugsDependingOnThis is empty.
Using the boolean chart query I want to filter the search results to include
only bugs that are NOT blocked by any other bugs, i.e. where dependson
(OtherBugsDependingOnThis) is empty.
Because dependencies is a link table a natural join between the bugs and
dependencies table will only include rows where are included in both tables,
i.e. it will not include rows that don't have dependencies. To include these
rows an outer join can be performed, this will include all the rows from the
bugs table even where they do not match up against the dependencies table, null
values will be inserted where there is no corresponding row.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Assignee | ||
Updated•20 years ago
|
Assignee: justdave → bugreport
Blocks: 252564
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.22
Comment 1•20 years ago
|
||
OK, I'll look into this, if nobody else does, because we need it for PostgreSQL
support.
Tomas, if you (somehow, magically) have some free time, you can take this bug
from me, too. :-)
Assignee: bugreport → mkanat
Target Milestone: Bugzilla 2.22 → Bugzilla 2.20
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 252461 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 3•20 years ago
|
||
This is a bug, the bug it was duped against is a feature request. I'd rather
not combine them if possible.
I originally reopened this thinking it was already fixed since we got negation,
but it does appear we still have the wrong join type on it. I still think this
is a separate issue from searching on fields on the dependent bugs.
Assignee | ||
Comment 4•20 years ago
|
||
Updated•20 years ago
|
Assignee: mkanat → bugreport
Status: REOPENED → NEW
Assignee | ||
Updated•20 years ago
|
Attachment #175255 -
Flags: review?(mkanat)
Assignee | ||
Updated•20 years ago
|
Attachment #175255 -
Attachment is obsolete: true
Attachment #175255 -
Flags: review?(mkanat)
Assignee | ||
Comment 5•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #175257 -
Flags: review?(mkanat)
Comment 6•20 years ago
|
||
Comment on attachment 175257 [details] [diff] [review]
v2 - fully specify table name
Hooray, it works! :-)
Attachment #175257 -
Flags: review?(mkanat) → review+
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 7•20 years ago
|
||
Checking in Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm
new revision: 1.84; previous revision: 1.83
done
Status: NEW → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Whiteboard: [applied to b.m.o]
Updated•19 years ago
|
Whiteboard: [applied to b.m.o]
Updated•12 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
•