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

--- Comment #10 from Jonathan Druart <[email protected]> ---
(In reply to Marcel de Rooy from comment #8)
> Took me bit to figure out this qa tools warn, but this is the cause:
> 
> perl -cw outputs:
> $VAR1 = 'Subroutine dt_from_string redefined at Koha/DateUtils.pm line 58.
> Subroutine output_pref redefined at Koha/DateUtils.pm line 269.
> Subroutine format_sqldatetime redefined at Koha/DateUtils.pm line 360.
> Subroutine flatpickr_date_format redefined at Koha/DateUtils.pm line 392.
> Koha/DateUtils.pm syntax OK
> ';
> 
> The line Subroutine flatpickr_date_format redefined at Koha/DateUtils.pm
> line 392.
> goes thru the following regex:
>     s/at .* line .*$// for @errors;
> And this regex is too generic. It already the last two letters at from the
> subroutine name!
> So it leaves: Subroutine flatpickr_date_form
> Which is no longer removed by the redefined regex..
>     s/^Subroutine .* redefined $// for @errors;
> Since redefined was already eaten.

Please report when you find bugs :)

See https://gitlab.com/koha-community/qa-test-tools/-/issues/60

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to