[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
Fri Dec 19 12:15:10 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13482

--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 34528
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34528&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list