Ticket #9003 (closed defect (bug): fixed)
Deleting Parent Comment Causes Child Comments To Be Incorrectly Displayed
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.2 |
| Component: | Comments | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
When comment threading is enabled and a parent comment is deleted it's child comments are incorrectly displayed below all other comments, regardless of the time they were made. Deleting a parent comment should cause child comments to default to no parent and display in the comment list chronologically.
Attachments
Change History
- Keywords has-patch added; needs-patch removed
Attached is the patch that reassigns all children of the deleted comment to its parent (or 0 if the deleted comment is a top level one).
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.


Or optionally the "deleted" parent could be replaced by a placeholder, so that the other comments do not lose all their context..