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

META{"parent"} doesn't return the direct parent when dontrecurse="on" is set.

Test:

  1. META{"parent"} =
  2. META{"parent" dontrecurse="on"} =

Test (1) works fine rendering all parents recursively. Test (2) will always return the empty string.

Fix:

_renderParent() bails out at the begining of the loop when dontRecurse is true ... must be at the end of the loop to return at least the direct parent.

Committed revision 6021.

ItemTemplate
Summary META{"parent" dontrecurse="on"} doesn't work
ReportedBy TWiki:Main.MichaelDaum
Codebase

AppliesTo Engine
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 6021
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-08-11 - MichaelDaum
 
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