• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5490: %REVTITLE2% not substituted in RDiff.pm

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.2.1, 5.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

There is a tiny bug in lib/TWiki/UI/RDiff.pm because of which %REVTITLE2% will not be replaced in

./templates/rdiff.tmpl. The following patch solves that:


lib/TWiki/UI/RDiff.pm.orig 2008-04-02 11:53:34.000000000 +0200
+++ lib/TWiki/UI/RDiff.pm 2008-04-02 11:54:06.000000000 +0200
@@ -474,6 +474,7 @@
do {
my $diff = $difftmpl;
$diff =~ s/%REVTITLE1%/$r1/go;
+ $diff =~ s/%REVTITLE2%/$r2/go;

my $rInfo = '';
my $rInfo2 = '';

-- TWiki:Main/StefanWalter - 02 Apr 2008

awsome, thankyou Stefan, I've applied your patch to both svn trunk and the 4.2 branch, the fix will be in 4.2.1

-- SvenDowideit - 03 Apr 2008

ItemTemplate
Summary %REVTITLE2% not substituted in RDiff.pm
ReportedBy TWiki:Main.StefanWalter
Codebase 4.0.1, 4.2.0
SVN Range TWiki-5.0.0, Sun, 09 Mar 2008, build 16496
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:16605 TWikirev:16606
TargetRelease patch
ReleasedIn 4.2.1, 5.0.0
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-08-04 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback