[Koha-bugs] [Bug 28310] New: request.pl using biblioitemnumber in biblionumber field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 10 17:49:33 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28310

            Bug ID: 28310
           Summary: request.pl using biblioitemnumber in biblionumber
                    field
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: philippe.blouin at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

In reserve/request.pl, the code querying ItemsAnyAvailableAndNotRestricted
(previously ItemsAnyAvailableForHold) is passing the biblioitemnumber as a
value to a specified biblionumber.

ItemsAnyAvailableAndNotRestricted( { biblionumber => $biblioitemnumber, patron
=> $patron })

All you need is a Koha instance where the values of biblionumber and
biblioitemnumber being different for this to break.  And break badly.

This occurs in 20.05+

-- 
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