Use the timestamp as an identifier when editing a comment
|Reported by:||rblank||Owned by:||rblank|
Currently, Ticket.modify_comment() uses the comment number stored in the oldvalue column of ticket_change to identify the comment that is edited. Unfortunately, it seems that some "comment adders" don't set this field correctly (e.g. XmlRpcPlugin). Also, databases from old versions of Trac (prior to the introduction of the threading feature) also don't have the oldvalue column set correctly. This prevents such comments from being edited.
The comment editing feature should be changed to use the comment timestamp as an identifier instead of the comment number.
Change History (23)
Changed 4 years ago by rblank
comment:15 Changed 3 years ago by cboos
- Resolution fixed deleted
- Status changed from closed to reopened