• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item7774: PARENTBC setting: Omit double-angle separator if no parent

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Low Waiting for Release   patch 6.0.3

Edit Form Data

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

Detail

The VarPARENTBC always outputs a » (right-pointing double angle quotation mark), not just between parents. A » is also shown if there is no parent set.

This will result in two » » if you prefix the PARENTBC with a custom home link.

This fixes the issue: » is only shown between parents, and is omitted if the topic has no parent.

Test:

  • Write:
    Home » %PARENTBC% %TOPIC%
  • Expected if no parent:
    Home » Item7774
  • Actual:
    Home » Item7774

-- TWiki:Main/PeterThoeny - 2017-02-12

ItemTemplate
Summary PARENTBC setting: Omit double-angle separator if no parent
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.2
SVN Range TWiki-6.0.2-trunk, Tue, 22 Nov 2016, build 30274
AppliesTo Engine
Component

Priority Low
CurrentState Waiting for Release
WaitingFor

Checkins TWikirev:30307 TWikirev:30308
TargetRelease patch
ReleasedIn 6.0.3
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2017-02-12 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback