[Koha-bugs] [Bug 13482] A race condition prevents item info from being available for ReserveSlip (hold notice) printing.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 4 20:22:48 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13482
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34529|0 |1
is obsolete| |
--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 35664
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35664&action=edit
[SIGNED-OFF] Bug 13482 - A race condition prevents item info from being
available for ReserveSlip (hold notice) printing.
Occasionally the ReserveSlip doesn't have any values from the koha.items-table.
There is no apparent reason why. The issue seems to be more prevalent when
fulfilling holds (checkin-in) to be transferred to another branch.
Traced the issues to a race condition between printing a just-fulfilled hold
and writing the itemnumber to the reserves-table.
TEST PLAN:
1. Find a borrower, make a hold for him, and check-in the book to trigger the
"Hold found:"-prompt. Do not Confirm it!
2. Reproduce the print error by entering the following to a javascript console
at the same page.
Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=10904891&biblionumber=469263&op=slip');
3. Notice the missing item fields.
After this patch, one can confirm that it works by using this command:
Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=10904891&biblionumber=469263&itemnumber=10563811&op=slip');
MAKE SURE TO REPLACE PARAMETERS WITH CORRECT VALUES.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list