• 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.

Item6421: rdiff DIFFRENDERSTYLE does not work as expected

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

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

Detail

According to the rdiff documentation

Parameter Description Default
render the rendering style {sequential, sidebyside, raw, debug} DIFFRENDERSTYLE, sequential

I would expect that setting

   * Set DIFFRENDERSTYLE = sidebyside

would affect the initial radio button setting in the "Compare revisions" section under "More topic actions".

It does not affect that.

It should.

Possible fix

Change oopsmorecompare.pattern.tmpl so one of the comparison choice radio buttons is checked only in response to DIFFRENDERSTYLE.

For each

<input type="radio" 
check the value of DIFFRENDERSTYLE

e.g.

<input type="radio" name="render" id="sequential" value="sequential" %IF{ "$ DIFFRENDERSTYLE='sequential'" then="checked" else="" }% />

If DIFFRENDERSTYLE isn't set, no radio buttons will be lit. The user can choose (or not choose). Sequential is still the default even if a choice isn't made.

But if DIFFRENDERSTYLE is set, the correct radio button would be lit as opposed to a hard-coded choice.

-- TWiki:Main/VickiBrown - 08 Apr 2010

ItemTemplate
Summary rdiff DIFFRENDERSTYLE does not work as expected
ReportedBy TWiki:Main.VickiBrown
Codebase 4.2.4
SVN Range TWiki-5.0.0, Fri, 19 Mar 2010, build 18391
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-04-08 - VickiBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback