[Koha-bugs] [Bug 31415] Script to automate converting holds to recalls
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 17 23:41:30 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31415
--- Comment #11 from David Nind <david at davidnind.com> ---
I got this error message when testing again:
perl misc/cronjobs/recalls/convert_holds_to_recalls.pl -v --min 1
No reserves HOLD_CANCELLATION letter transported by email at
/kohadevbox/koha/C4/Letters.pm line 588.
The method Koha::Hold->hold_id is not covered by tests!
Trace begun at /kohadevbox/koha/Koha/Object.pm line 931
Koha::Object::AUTOLOAD('Koha::Hold=HASH(0x55b1c879dd50)') called at
misc/cronjobs/recalls/convert_holds_to_recalls.pl line 129
Do I need to make sure email is set up and that each of the patrons have an
email address?
The records and patrons I used were from different libraries, not sure whether
that should make a difference.
Setup:
1. Recalls:
. Recalls allowed (total): 5
. Recalls per record (count): 5
. On shelf recalls allowed: If any unavailable1
. Recall due date interval (day): 5
. Recall overdue fine amount: 5.00
. Recall pickup period (day): 5
2. Checked out 3 items to Mary Burton (Effective Perl (139 - item 296), Perl
template toolkit (255 - item 564), Programming Perl (262 - item 578))
3. Placed holds on these records:
- Effective Perl (139): Bobbie Middleton, Henry Acevedo, Lisa Charles
- Perl template toolkit (255): Henry Acevedo, Lisa Charles, Bobbie Middleton
- Programming Perl (262): Henry Acevedo, Lisa Charles, Bobbie Middleton
- The complete novels / Jane Austen (19): Mary Burton, Lisa Charles
4. After running the script, got the error above. One recall was made for:
- Effective Perl: requested by Bobbie Middleton
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list