Item9215: upgrade_emails.pl errors

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

[root@svn bin]# perl ../tools/upgrade_emails.pl
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 ['user@user.com']:
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 271, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 274, <> line 3.
Argument "Main" isn't numeric in numeric le (<=) at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/Handler.pm line 360, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 219, <> line 3.
Use of uninitialized value in -e at /var/www/barracuda/wiki/lib/Foswiki/Store/VC/Handler.pm 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 upgrade_emails.pl errors
ReportedBy MichaelKjellman
Codebase trunk
SVN Range
AppliesTo Engine
Component Tools
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:d51945d091ea
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy