[Koha-bugs] [Bug 8487] New: C4::Installer::PerlDependencies needs Test::Strict hash corrected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jul 21 10:05:45 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8487

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8487
          Assignee: gmcharlt at gmail.com
           Summary: C4::Installer::PerlDependencies needs Test::Strict
                    hash corrected
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: mtompset at hotmail.com
          Hardware: All
            Status: NEW
           Version: rel_3_8
         Component: Installation and upgrade (command-line installer)
           Product: Koha

In my koha development system, I was doing testing:

Valid Cases to check
-------------------------
./koha_perl_deps
./koha_perl_deps -h
./koha_perl_deps -a
./koha_perl_deps -m
./koha_perl_deps -i
./koha_perl_deps -u
./koha_perl_deps -a -c
./koha_perl_deps -m -c
./koha_perl_deps -i -c
./koha_perl_deps -u -c
./koha_perl_deps -m -u
./koha_perl_deps -m -u -c
-------------------------

Invalid Cases to check
-------------------------
./koha_perl_deps -s
./koha_perl_deps -s -u
./koha_perl_deps -s -u -c
-------------------------

Cases 3, 4, 7, 8, 11, and 12 (Numbered from 1 sequentially in the above list)
would fail on Test::Strict which is does not have a defined version required.

I thought of patching koha_perl_deps.pl, which bypasses the problem. However, I
think the problem lies in the C4::Installer::PerlDependencies module. Only
Test::Strict is lacking a 'min_ver'. The 'required' is set to the version
number. All other 'required' values are '1' or '0'. This leads me to believe
that 'required' should be 'min_ver' and 'required' => '1' be added.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list