[Koha-bugs] [Bug 30222] Auto_renew_digest still sends every day when renewals are not allowed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 15:23:19 CET 2022


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #3 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
I'm getting errors when running the cron with the patches, step 13 of the first
test plan:

root at kohadevbox:koha(master)$ perl misc/cronjobs/automatic_renewals.pl -v
--confirm
Scalar found where operator expected at misc/cronjobs/automatic_renewals.pl
line 151, near ")
        $wants_email"
        (Missing operator before $wants_email?)
"my" variable $auto_renew masks earlier declaration in same statement at
misc/cronjobs/automatic_renewals.pl line 165.
syntax error at misc/cronjobs/automatic_renewals.pl line 151, near ")
        $wants_email "
Global symbol "$wants_digest" requires explicit package name (did you forget to
declare "my $wants_digest"?) at misc/cronjobs/automatic_renewals.pl line 155.
Global symbol "$wants_email" requires explicit package name (did you forget to
declare "my $wants_email"?) at misc/cronjobs/automatic_renewals.pl line 157.
Global symbol "$borrower_preferences" requires explicit package name (did you
forget to declare "my $borrower_preferences"?) at
misc/cronjobs/automatic_renewals.pl line 157.
syntax error at misc/cronjobs/automatic_renewals.pl line 158, near "}"
Global symbol "$wants_email" requires explicit package name (did you forget to
declare "my $wants_email"?) at misc/cronjobs/automatic_renewals.pl line 165.
Can't redeclare "my" in "my" at misc/cronjobs/automatic_renewals.pl line 166,
near "my"
Global symbol "$wants_digest" requires explicit package name (did you forget to
declare "my $wants_digest"?) at misc/cronjobs/automatic_renewals.pl line 178.
Global symbol "$wants_digest" requires explicit package name (did you forget to
declare "my $wants_digest"?) at misc/cronjobs/automatic_renewals.pl line 197.
Global symbol "$wants_digest" requires explicit package name (did you forget to
declare "my $wants_digest"?) at misc/cronjobs/automatic_renewals.pl line 201.
syntax error at misc/cronjobs/automatic_renewals.pl line 216, near "}"
misc/cronjobs/automatic_renewals.pl has too many errors.

-- 
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