When you try and place a hold on an item with a charge associated with it, the hold fails with the error: Undefined subroutine &C4::Reserves::getnextacctno called at /usr/share/koha/C4/Reserves.pm line 574. The getnextacctno function is in C4::Accounts. This is exactly the same issue as bug 21641 and should be resolved in the same way.
Created attachment 81256 [details] [review] Bug 21679: Fix incorrect call to getnextacctno The call to getnextacctno was attempting to be made to C4::Reserves rather than to C4::Accounts. This patch addresses this by explicitly stating the full path to the function.
See bug 21683
Test plan: - Before applying the patch - Attempt to place a hold on an item with a charge associated with it => Observe that this fails with the error "Undefined subroutine &C4::Reserves::getnextacctno called at /usr/share/koha/C4/Reserves.pm line 574." - Apply the patch - Attempt to place a hold on an item with a charge associated with it => Observe that the hold now succeeds
Please check testing conditions. There may be more to recreating the problem than discribed. Or it may have been resolved elsewhere.
I should have stated that I cannot get the error under the conditions described.
It sounds like bug 21614 maybe?
(In reply to Katrin Fischer from comment #6) > It sounds like bug 21614 maybe? Should have been: Bug 21641 - Software error when checking out an item with a charge associated with it Marking as duplicate now. *** This bug has been marked as a duplicate of bug 21641 ***