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

--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivila...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to