Bug 17986 - Perl dependency evaluation incorrect
commite8230c189da00b3b68c04c354ecb7cc6cacb4ad8
authorDavid Cook <dcook@prosentient.com.au>
Tue, 24 Jan 2017 22:58:40 +0000 (25 09:58 +1100)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Jan 2017 01:58:12 +0000 (25 14:58 +1300)
treef5fa174512eac73062fca44da46a952328db92f8
parent8ecc75fb2498a55c98aad7743d8cb38ac5843f17
Bug 17986 - Perl dependency evaluation incorrect

It looks like I made a copy/paste error in a previous patch.

While the fix was working when you pass the param "module" to
version_info, it wasn't populating the version correctly
for the "all" param, which causes koha_perl_deps.pl to
think all OK modules actually need an upgrade.

TEST PLAN

0) Be on a system where you know your Koha Perl dependencies are
mostly up-to-date

1) Run ./koha_perl_deps.pl -a -c
2) Note that most modules say they need an upgrade even when
the installed version is the same as the minimum version

3) Apply patch

4) Run ./koha_perl_deps.pl -a -c
5) Note that most moduls say they're OK, especially when the
installed version is the same or greater than the minimum version

https://bugs.koha-community.org/show_bug.cgi?id=17880

https://bugs.koha-community.org/show_bug.cgi?id=17986

Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Installer/PerlModules.pm