Closed
Bug 283567
Opened 20 years ago
Closed 20 years ago
Toggling a comment's privacy does nothing
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: mkanat, Assigned: LpSolit)
Details
Attachments
(1 file, 1 obsolete file)
|
691 bytes,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
On today's tip, if I uncheck the "private" box on a comment, it doesn't become un-private. If I check the "private" box, it doesn't become private. I can file a new private comment, or make a new private attachment, but once something is private I can't make it "un-private." Once something is "un-private", I can't make it private.
| Assignee | ||
Comment 1•20 years ago
|
||
This is because the hidden when-# field is empty. It should contain the date of
the comment. May be related to $dbh->sql_date_format('longdescs.bug_when',
'%Y%m%d%H%i%s') in Bug.pm, line 541.
process_bug.cgi is clean, so the problem is to get the date of the comment from
the DB.
I haven't time right now, so if someone wants to take it, please do. Else I do
it with "pleasure" when I come back.Target Milestone: --- → Bugzilla 2.20
Comment 2•20 years ago
|
||
That's exactly why longdescs needs a good key
| Assignee | ||
Comment 3•20 years ago
|
||
There is a missing "AS bug_when" in GetComments(). This is a regression from bug 279700 caused by... mkanat! :)
Assignee: create-and-change → LpSolit
Status: NEW → ASSIGNED
Attachment #175773 -
Flags: review?(mkanat)
| Reporter | ||
Comment 4•20 years ago
|
||
Comment on attachment 175773 [details] [diff] [review] adding AS bug_when, v1 Yeah. This is right. But don't change all the code -- just fix the line that needs fixing. Just resubmit a new patch with only the one line changed. The funny part is that it seemed to be working when I ran my tests on it... ah, well. :-)
Attachment #175773 -
Flags: review?(mkanat) → review+
| Assignee | ||
Comment 5•20 years ago
|
||
Do you prefer this version?
Attachment #175773 -
Attachment is obsolete: true
Attachment #175836 -
Flags: review?(mkanat)
| Reporter | ||
Comment 6•20 years ago
|
||
Comment on attachment 175836 [details] [diff] [review] adding AS bug_when, v2 Very much. -)
Attachment #175836 -
Flags: review?(mkanat) → review+
| Assignee | ||
Updated•20 years ago
|
Flags: approval?
Updated•20 years ago
|
Flags: approval? → approval+
Comment 7•20 years ago
|
||
Checking in Bugzilla/Bug.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v <-- Bug.pm new revision: 1.60; previous revision: 1.59 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•