Use the timestamp as an identifier when editing a comment
|Reported by:||rblank||Owned by:||rblank|
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.