Closed
Bug 64946
Opened 24 years ago
Closed 16 years ago
Query based on who attached a file
Categories
(Bugzilla :: Query/Bug List, enhancement, P3)
Bugzilla
Query/Bug List
Tracking
()
RESOLVED
DUPLICATE
of bug 333040
People
(Reporter: jacob, Assigned: nobody)
References
Details
Attachments
(1 file)
2.96 KB,
text/plain
|
Details |
As requested in #mozwebtools, it would be nice if there was a way to find all bugs where user x created an attachment. My thoughts on this would be to put this in the "Email 1/2" section as another checkbox. The actual query should be able to be done the same way as the one for "Added Comment". I will try to work on this when I get a chance, but if somebody else out there wants to do it, feel free as I'm a bit intimidated by the code in buglist.cgi (still quite new to SQL so formulating queries is mostly beyond me... esp. one as advanced as what buglist.cgi does).
Comment 1•24 years ago
|
||
It's possible to approximate this query by searching for comments which include "created an attachment" in the text.
Reporter | ||
Comment 2•24 years ago
|
||
Yes and No. If you search for "user x added a comment" and "comment contains 'created an attachment' you'll get all bugs that have attachments and are comment on by user x... in addition to all bugs that user x added an attachment... follow? The patch to record who was adding the attachment in the attachments table was added 6/22/99 (which was in the 2.5 days) so the field should be populated.
Reporter | ||
Comment 3•24 years ago
|
||
Reporter | ||
Comment 4•24 years ago
|
||
OK, I tried to make a patch for this, but I don't now enough about SQL statements to do it. Basically, what I attempted was to copy and modify the stuff for "Added Comment". What I ran into was that when the "Added Attachment" box was checked, only bugs with attachments would get returned by the SQL statement. It didn't necessarily matter who attachted the file, just that the bug had an attachment. I suspect it's related to the JOIN, but no matter what I did with it, I couldn't get it to work. I attached my attempt to this bug in case somebody wants to try to make it work.
Comment 6•23 years ago
|
||
what's wrong with the boolean search "Attachment Description" "changed by" "asa@mozilla.org"? It seems to return all the bugs where I attached something.
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 8•23 years ago
|
||
so is my method of running this query broken or can we resolve this as WorksForMe?
I suspect it would be worksforme (except that it's not intuitive, we should probably hint somewhere how to do it). but myk's stuff changes how patches are handled will that affect this?
Comment 10•23 years ago
|
||
I suspect that the correct resolution should be INVALID. However this area of the form is extremely poorly documented, for instance the "Attachment is patch" value should only be 0 or 1. Mind you, other parts of the documentation are out of date as well. While I mention it, does the list of keywords/products/components needed to be embedded in the documentation?
Reporter | ||
Comment 11•23 years ago
|
||
-> New Bugzilla Product
Component: Bugzilla → Query/Bug List
Product: Webtools → Bugzilla
Version: other → unspecified
Comment 13•23 years ago
|
||
Attachment description | Changed by | <user> no longer works for this since it is possible for others to change the attachment description in the Patch Tracker. I guess we need a specific query "Created Attachment" in the email section just like the original report requested.
Comment 14•21 years ago
|
||
nope, use "attachment data" /changed by/ [attacher].
Updated•21 years ago
|
OS: Linux → All
Hardware: PC → All
Updated•21 years ago
|
Assignee: endico → nobody
Updated•18 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Updated•18 years ago
|
Target Milestone: Future → ---
Comment 15•17 years ago
|
||
A brand-new 3.0 install shows Attachment Creator in the Advanced search... You can also see this on b.m.o. Recommend someone closes this as FIXED.
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•