[Koha-bugs] [Bug 22566] New: Stock rotation cronjob reporting has issues
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 22 18:17:32 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22566
Bug ID: 22566
Summary: Stock rotation cronjob reporting has issues
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Target Milestone: ---
Trying to test this today we found that some of the reporting features of the
cronjob seem to be problematic:
To recreate:
1 - Create some rotas
2 - Add some items
3 - run cronjob with -x
4 - in sql UPDATE branchtransfers SET datearrived=DATE_SUB(CURDATE(), INTERVAL
1 DAY) WHERE comments like '%rota%'
5 - run the cornjob without -x:
perl misc/cronjobs/stockrotation.pl -r full
6 - get an error about undefined emails
7 - run it for branch emails
perl misc/cronjobs/stockrotation.pl -r email
8 - get an error about odd numebr of elements in hash
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list