New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item9215: errors

Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: Tools
Reported By: MichaelKjellman
Waiting For:
Last Change By: KennethLavrsen
Currently when running the script it errors after entering the Admin e-mail address

[root@svn bin]# perl ../tools/
Enter admin e-mail address to use as default, enter to confirm.
This address will be used for any user that I can't find an existing
address for.
Admin e-mail address ['']:
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/ line 271, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/ line 274, <> line 3.
Argument "Main" isn't numeric in numeric le (<=) at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/ line 360, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/ line 219, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/ line 432, <> line 3.

-- MichaelKjellman

This shows we should also add a set of unit tests to seek out and attempt to run all and any scripts that are mentioned in the MANIFEST - to make sure they actually run - let alone testing their functionality.

NOTE not only this script needs to be made to work for 1.1, but all the shipping scripts needs to be tested..

-- SvenDowideit - 28 Jun 2010

Yes, there should be integration tests for them all. Subject for another task.

For this one, I fixed the upgrade_emails and tested all the others in tools, and have no more errors to report.

-- CrawfordCurrie - 06 Jul 2010


ItemTemplate edit

Summary errors
ReportedBy MichaelKjellman
Codebase trunk
SVN Range
AppliesTo Engine
Component Tools
Priority Urgent
CurrentState Closed
Checkins distro:d51945d091ea
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 04 Oct 2010, KennethLavrsen - This page was cached on 02 May 2018 - 01:45.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License