Item9215: upgrade_emails.pl errors
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
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
Admin e-mail address ['email@example.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.
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.
not only this script needs to be made to work for 1.1, but all
the shipping scripts needs to be tested..
- 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.
- 06 Jul 2010