Closed Bug 364195 Opened 18 years ago Closed 18 years ago

No way to search for private comments

Categories

(Bugzilla :: Query/Bug List, defect)

2.23.3
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: reed, Assigned: reed)

References

Details

Attachments

(1 file, 2 obsolete files)

There's an "Attachment is private" option, but there's no "Comment is private" option, meaning there's no way to search for private comments. :(
Attached patch patch - v1 (obsolete) — Splinter Review
This works for me on prodpatches, but I'm not sure if I added it to everything I was supposed to.
Assignee: query-and-buglist → reed
Status: NEW → ASSIGNED
Attachment #248968 - Flags: review?(justdave)
Flags: blocking3.0?
Attachment #248968 - Attachment is obsolete: true
Attachment #248968 - Flags: review?(justdave)
Attached patch patch - v2 (obsolete) — Splinter Review
This one actually has checks to make sure only the people that can see the comments can search for them. :P I don't like this logic, but I don't know of any other way to do it.
Attachment #249009 - Flags: review?(justdave)
Comment on attachment 249009 [details] [diff] [review] patch - v2 Logic looks sound, but I don't like using "isprivate" as the field name, as from the context it's being used it, that makes it look like we're searching for whether the bug is private or not. longdesc and commenter are the only other things in that table we can search right now, but those are obvious from the context. I believe we have comment types now (to distinguish duplicate and attachment added and so forth) and that might be worth searching on eventually, so doing a group with longdescs.foo might not be so bad. So let's make this one longdescs.isprivate
Attachment #249009 - Flags: review?(justdave) → review-
Attached patch patch - v3Splinter Review
s/isprivate/longdescs.isprivate/... is that all I needed to do?
Attachment #249009 - Attachment is obsolete: true
Attachment #249082 - Flags: review?(justdave)
Attachment #249082 - Flags: review?(justdave) → review+
Attachment #249082 - Flags: review+ → review?(justdave)
Attachment #249082 - Flags: review?(justdave) → review+
Flags: blocking3.0? → blocking3.0+
Flags: approval+
Checking in Bugzilla/Field.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Field.pm,v <-- Field.pm new revision: 1.24; previous revision: 1.23 done Checking in Bugzilla/Search.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm new revision: 1.143; previous revision: 1.142 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Keywords: relnote
Added to the release notes on bug 255155.
Keywords: relnote
The correct bug number for those release notes is actually bug 349423.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: