TracBack does not need to be inserted when ticket is already referenced in a log message containing multiple ticket references
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
|Cc:||Chris Nelson||Trac Release:||0.11|
If a log message references two tickets, e.g. ticket
#100 and ticket
#200, then the
trac-post-commit-hook inserts the log message into ticket 100 and ticket 200. TracBacksPlugin then inserts a message into ticket 100 saying it was referenced in ticket 200, and vice-versa.
We should make TracBacksPlugin smart enough to know when a reference has already been inserted into a ticket so that we don't get duplicate log messages inserted into tickets.