[Koha-bugs] [Bug 12932] New: Web installer's Perl version check will not raise errors if all modules are installed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 16 17:37:27 CEST 2014


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

            Bug ID: 12932
           Summary: Web installer's Perl version check will not raise
                    errors if all modules are installed
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Installation and upgrade (web-based installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

During the web installer process an error variable is set if the Perl version
is too old (installer/install.pl starting at line 60):

    $template->param( 'checkmodule' => 1 ); # we start with the assumption that
there are no problems and set this to 0 if there are

    unless ( $] >= 5.010000 ) {    # Bug 7375
        $template->param( problems => 1, perlversion => 1, checkmodule => 0 );
    }

However, the "checkmodule" error flag gets reset in the following section where
required modules are checked. If all required modules are installed the
checkmodule variable gets set back to 1 and no error will be raised in the
template about the old Perl version.

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


More information about the Koha-bugs mailing list