Closed
Bug 304749
Opened 19 years ago
Closed 19 years ago
Give editors ability to delete comments
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: jstritar, Assigned: jstritar)
Details
(Whiteboard: landme)
Attachments
(2 files)
|
3.24 KB,
patch
|
csthomas
:
first-review+
|
Details | Diff | Splinter Review |
|
1.33 KB,
patch
|
csthomas
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 We need to let editors delete comments once again.. Reproducible: Always Steps to Reproduce:
| Assignee | ||
Comment 1•19 years ago
|
||
Editors can now remove comments. This also sets the CommentVote to NULL when you remove the comment. Run this SQL query to convert all the old deleted comments to the style of the new ones: UPDATE `feedback` SET `CommentTitle` = '<i>Removed by Staff</i>', `CommentVote` = NULL WHERE `CommentTitle` = '<i>Removed by Admin</i>';
Attachment #192778 -
Flags: first-review?(cst)
I don't see any change to the way votes are tabulated. Does the vote counter already ignore those where the vote value is not null? Does the DB schema allow nulls?
Also, the comment-manager queue has been kept relatively under control. Why is there a sudden need? Part of the reason why editors cannot delete comments is that there is no tracking of who deleted what.
| Assignee | ||
Comment 4•19 years ago
|
||
CTho and Morgamic wanted to give editors access to remove them again. I didn't think about the rating updating... but if I remember correctly, CTho checked in a patch recently to ignore ratings of comments that are removed, so this should already be taken care of. I'll look into this tonight when I get a chance.
| Assignee | ||
Comment 5•19 years ago
|
||
I forgot to address one of your questions - The NULL ratings are allowed in that column. When developers make "developer comments", they are given NULL ratings. They appear just like the other comments except with no star pictures.
Ok, then this is to explicitly back out CTho's work to remove it and at his request.
Assignee: Bugzilla-alanjstrBugs → jstritar
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #192778 -
Flags: first-review?(cst) → first-review+
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: landme
Comment on attachment 194881 [details] [diff] [review] Ignore based on vote value Though LXR is out of date, the code in CVS does null the vote for deleted comments, so r=cst.
Attachment #194881 -
Flags: first-review?(cst) → first-review+
Comment 10•19 years ago
|
||
Second patch landed now. This is live.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•