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

Test case (as of Rev 7658)

  • create a new web
  • note that it gets no color in the left bar web list.

New webs are being created with preferences as

* Set VARIABLE = %VARIABLE%

%VAR{...}% seems to not recurse for the values, so in the new web case %WEBBGCOLOR% gets expanded correctly while %VAR{"WEBBGCOLOR" web="MyWeb"}% doesn't.

AT

In fact, _default/WebPrereferences.txt is declaring things as:

* VARIABLE = %VARIABLE% (without the "Set").

It also includes a %TWIKIWEB%.WebPreferencesHelp that doesn't exist. I guess it will explain that for setting things to values different from the defaults, the user needs to add the "Set".

But still, when %VARNAME% is not explicitly set in SomeWeb.WebPreferences, is seems that %VAR{"VARNAME" web="SomeWeb"}% doesn't get values defined in some "upper" level. Is this right?

Well, maybe this item should be splitted up in two.

AT

It's not declaring them, it's documenting them. It is inefficient (literally) to declare per-web variable overrides unless they are actually needed.

WebPreferencesHelp doesn't exist because I forgot to check it in (doh) SVN 7660

I don't know what you mean by an "upper" level. Read the rules for resolving variable values, and explain to me where Dakar is going wrong.

A new web should get a colour; that is a bug. SVN 7661

CC

ItemTemplate
Summary new webs created without proper WEBBGCOLOR preference (or %VARNAME% behaves differently from %VAR{"VARNAME" web="SomeWeb"}%)
ReportedBy AntonioTerceiro
Codebase

SVN Range 7658
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 7660 7661
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2005-11-28 - CrawfordCurrie
 
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