[Koha-bugs] [Bug 17558] Fix t/db_dependent/Koha/Patron/Messages.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 17:52:33 CET 2016


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

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hector.hecaxmmx at gmail.com

--- Comment #6 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
This is a(In reply to Bernardo Gonzalez Kriegel from comment #3)
> Hi, I got an error with koha-qa script
> 
>  FAIL   t/db_dependent/Koha/Patron/Messages.t
>    OK     critic
>    OK     forbidden patterns
>    OK     git manipulation
>    OK     pod
>    OK     spelling
>    FAIL   valid
>                 Use of uninitialized value $_[0] in lc
> 
> Don't know the cause.

This is a problem from old Cache.pm in Debian and maybe in some version of
Ubuntu

The old module 2.04
>sub Canonicalize_Expiration_Time {
>    my $timespec = lc($_[0])
>        or return undef;
>
>    my $time;

And the update module 2.11:

>sub Canonicalize_Expiration_Time {
>    my $timespec;
> 
>    my $timespec_param = shift(@_);
>    if (! $timespec_param)
>    {
>        return undef;
>    }
>    $timespec = lc($timespec_param);
> 
>    my $time;

Regards

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


More information about the Koha-bugs mailing list