https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36313 --- Comment #22 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- (In reply to Emmi Takkinen from comment #21)
(In reply to Emmi Takkinen from comment #20)
Did some testing on that "Undefined subroutine &C4::Circulation::CheckReserves" error:
- this happens also with old database - doesn't happen with latest 23.11 release or with sandboxes, only with master - tests using CheckReserves (without C4::Reserves:: before it) pass as far as I can tell - I made a simple test script that calls CheckReserves and it works
It seems there is something in bug 27595 patch "Bug 27595: Add place_hold method to Koha::Suggestion" that causes this. Before that patch check in works as is should, after it 500 error occurs.
If I remove line
use C4::Reserves qw( AddReserve );
from Suggestion.pm checkin/checkout starts to work again.
Jonathan, any ideas why removing line use C4::Reserves qw( AddReserve ); fixes this? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.