[Koha-bugs] [Bug 11995] Followup for Bug 7688 - FIX GetNextDate in serialsUpdate.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 25 13:52:15 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11995
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 26559
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26559&action=edit
Bug 11995: Followup for Bug 7688 - FIX GetNextDate in serialsUpdate.pl
Bug 7688 changes the prototype for GetNextDate. The serialsUpdate.pl
cronjob script has not been updated.
Test plan:
Before applying the patch:
1/ Check that the following SQL query returns something:
SELECT serial.*
FROM serial
LEFT JOIN subscription ON (subscription.subscriptionid = serial.subscriptionid)
WHERE serial.status = 1
AND DATE_ADD(planneddate, INTERVAL CAST(graceperiod AS SIGNED) DAY) < NOW()
AND subscription.closed = 0;
2/ Run misc/cronjobs/serialsUpdate.pl -v
It should die with an error message like this:
Can't use string ("2011-03-05") as a HASH ref while "strict refs" in use
3/ Apply the patch
4/ Run misc/cronjobs/serialsUpdate.pl -v
It should exit normally and print messages like this:
Serial issue with id=XX updated
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list