[Koha-bugs] [Bug 13482] New: 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:09:40 CET 2014


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

            Bug ID: 13482
           Summary: A race condition prevents item info from being
                    available for ReserveSlip (hold notice) printing.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: olli-antti.kivilahti at jns.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

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.

Can be reproduced by entering the following to a javascript console.
Dopop('hold-transfer-slip.pl?transfer=1&borrowernumber=10904891&biblionumber=469263&op=slip');

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 the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list