[ php-blog-Bugs-3307105 ] COMMENT_DELETED displayed after deleting comment
"SourceForge.net" <[email protected]> Tue, 24 May 2011 20:19:36 +0000
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3307105, was opened at 2011-05-24 19:56
Message generated for change (Comment added) made by garvinhicking
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=3307105&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Administrative functions
Group: None
>Status: Pending
Resolution: None
>Priority: 3
Private: No
Submitted By: Christian Boltz (christian_boltz)
>Assigned to: Garvin Hicking (garvinhicking)
Summary: COMMENT_DELETED displayed after deleting comment
Initial Comment:
I'm using S9Y from the 1.5 SVN branch, r2717 (which basically means 1.5.5).
I deleted a (auto-approved) comment with the "delete comment" link in the comment notification mail ($domain/delete/comment_token_......)
The result was somewhat unexpected - my blog displayed a comment like
$author zu $article $date
COMMENT_DELETED
in the sidebar instead of hiding the comment.
I can also see the comment with the "COMMENT_DELETED" text in the backend - for now, I have set it to "moderation" to hide it from the frontend.
This seems to affect only published comments. Deleting comments that wait for moderation works as expected.
----------------------------------------------------------------------
>Comment By: Garvin Hicking (garvinhicking)
Date: 2011-05-24 20:19
Message:
Hi!
Actually, this should be expected behaviour - the comment body gets
replaced with the constant "COMMENT_DELETED" if there is a reply to the
comment you are deleting. If the comment were deleted, then the response
would also all be deleted, whichi s why we chose this "deleted" method.
Can this be the cause, or are you sure the comment you wanted to delete
has no associated replies?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=3307105&group_id=75065
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1