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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/