[Koha-bugs] [Bug 17882] New: C4::Installer::PerlModules::version_info() drops data during error handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 11 07:15:17 CET 2017


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

            Bug ID: 17882
           Summary: C4::Installer::PerlModules::version_info() drops data
                    during error handling
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: gmcharlt at gmail.com
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

If you try something like the following when DateTime isn't installed, instead
of seeing the Perl dependency information, you'll see nulls and hard-coded
defaults.

my $version_check = $modules->version_info('module'=>"DateTime");

This is only a problem when using version_info with the module parameter. The
"all" parameter (as used by koha_perl_deps.pl) works fine.

It looks like a simple copy/paste error, so I'll post a patch for this too
soon.

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


More information about the Koha-bugs mailing list