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

Item6644: uninitialized value in pattern match

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Scripts Low No Action Required TWiki:Main.MatWitts n/a  

Edit Form Data

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

Detail


Apache error log gives:-

view: Use of uninitialized value in pattern match (m//) at /var/www/twiki/lib/TWiki/Store.pm line 1392.

  • O/S CentOS Linux 5.5
  • Linux 2.6.18-194.26.1.el5 on i686

-- TWiki:Main/MatWitts - 2011-01-25

Thanks Mat for reporting. This has already been fixed in TWiki-5.0.1. Old Version:

        # Make sure we update the topic format
        $ti->{format} = $STORE_FORMAT_VERSION;
        #add the rev derived from version=''
        $ti->{version} =~ /\d*\.(\d*)/;
        $ti->{rev} = $1;

New version:

        # Make sure we update the topic format
        $ti->{format} = $STORE_FORMAT_VERSION;
        #add the rev derived from version=''
        $ti->{version} = 1.1 unless $ti->{version};
        $ti->{version} =~ /\d*\.(\d*)/;
        $ti->{rev} = $1;

-- TWiki:Main.PeterThoeny - 2011-01-26

ItemTemplate
Summary uninitialized value in pattern match
ReportedBy TWiki:Main.MatWitts
Codebase 5.0.0
SVN Range TWiki-5.0.1, Tue, 11 Jan 2011, build 20174
AppliesTo Engine
Component Scripts
Priority Low
CurrentState No Action Required
WaitingFor TWiki:Main.MatWitts
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-01-26 - PeterThoeny
 
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