• 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: recently added chinese translations.

configure writes as:

$TWiki::cfg{Languages}{zh-tw}{Enabled} = 1;
$TWiki::cfg{Languages}{zh-cn}{Enabled} = 1;

when the right would be:

$TWiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;
$TWiki::cfg{Languages}{'zh-cn'}{Enabled} = 1;

ie, in this case zh-cn is parsed as 'zh' - 'cn', what is evaluated to zero. This way %TWiki::cfg{Languages } gets an entry with key 0 and value {'Enabled' => 1 }.

Also: even if TWiki.cfg has the right thing (i.e. $TWiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;), configure does not detect this value when reading TWiki.cfg. It looks like it parses the key as a literal "'zh-cn'", with the quotes. Need to check.

AT

SVN 8310

CC

ItemTemplate
Summary non keyword keys are not handled correctly in configure script
ReportedBy AntonioTerceiro
Codebase

SVN Range Thu, 12 Jan 2006 build 8247
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 8310
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-01-15 - 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