[Koha-bugs] [Bug 30671] New: iTiva Talking Tech overdue notices generated in error when fewer than 3 overdue triggers defined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 3 17:16:13 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30671
Bug ID: 30671
Summary: iTiva Talking Tech overdue notices generated in error
when fewer than 3 overdue triggers defined
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
The TalkingTech_itiva_outbound.pl cronjob populates a list of overdue issues
where the interval between the due date and the current date matches the delay
value for one of the three triggers in overduerules.pl. However, if one has
only defined delay values for some of the three available triggers, then issues
are added to the csv in error because Koha saves those delays as zero rather
than null.
To recreate:
- turn on the TalkingTechItivaPhoneNotification system preference
- create a letter with module=circulation, letter code=OVERDUE, and content in
the iTiva format
- go to Overdue Notice and Status Triggers
- for one of your patron categories, set a first overdue with delay=1, a letter
selected, and iTiva selected as its transport type. Do not set anything for 2nd
and 3rd overdues for this category
- confirm you have at least one checkout in your system to a patron in this
category with a due date of yesterday
- confirm you have at least one checkout in your system to a patron in this
category with a due date of today
- run TalkingTech_itiva_outbound.pl with --type=OVERDUE
- check your cron output, confirm it contains both your item due yesterday
(Correct!) and your checkout due today (Incorrect!)
--
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