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

Item3629: Configure breaks when it is unable to set a locale. Suggestion for fix included.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Configure Normal Closed   patch 4.1.2

Edit Form Data

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

Detail

In lib/Twiki/Configure/Checkers/Site/Locale.pm:

The following code produces a Perl error when there is a problem setting a locale:

        my $currentLocale = POSIX::setlocale(&POSIX::LC_CTYPE);
        if ( $currentLocale ne $locale ) {
            $e .= WARN(<

I fixed this on our systems by changing the line with the WARN to the following:

            $e .= $this->WARN(<

-- TWiki:Main/PascalSchuppli - 14 Feb 2007

Thanks Pascal, you were absolutely right. Fixed in the codebase.

CC

Closed with release of 4.1.2

KJL

ItemTemplate
Summary Configure breaks when it is unable to set a locale. Suggestion for fix included.
ReportedBy TWiki:Main.PascalSchuppli
Codebase 4.1.1
SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12817
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor

Checkins 12920 12921
TargetRelease patch
ReleasedIn 4.1.2
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-03-04 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback