Diff URL in notification message is backwards (!)
I'm surprised to be the first person to notice this(?).
MailerContrib includes a URL to the differences between the current and the previous revision or changed topics. If you follow that link, you see that the diff is doen backwards; that is, additions are deletions and vice-versa. The diff tells you how to go from the current version to the previous version. Not what I expect!
The problem is easily solved in the
mailnotify
template as follows:
../templates/mailnotify.tmpl.distributed 2007-12-21 04:37:00.000000000 -0500
+++ ../templates/mailnotify.tmpl 2008-07-11 11:51:32.000000000 -0400
@@ -24,7 +24,7 @@
<td width="50%">
<a href="https://develop.twiki.org/do/"view"/Bugs/Item5772"><b>Item5772</b></a>
</td><td width="30%">
- <a href="https://develop.twiki.org/do/"rdiff"/Bugs/Item5772?rev1=%BASE_REV%&rev2=%CUR_REV%" rel='nofollow'>%TIME%</a> - %REVISION%
+ <a href="https://develop.twiki.org/do/"rdiff"/Bugs/Item5772?rev2=%BASE_REV%&rev1=%CUR_REV%" rel='nofollow'>%TIME%</a> - %REVISION%
</td><td width="20%">
%AUTHOR%
</td>
--
TWiki:Main/TimotheLitt - 11 Jul 2008
Thanks for the report
I will take care of this.
--
KennethLavrsen - 12 Jul 2008