[Koha-bugs] [Bug 25783] Holds Queue treating item-level holds as bib-level

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 20 17:33:45 CEST 2020


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |victor at tuxayo.net

--- Comment #15 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Can't backport to 19.05. Test failing. Not sure if it's just a column name that
changed or if it's more complex than that. 

kohadev-koha at c57830f10a86:/kohadevbox/koha$ prove t/db_dependent/HoldsQueue.t
t/db_dependent/HoldsQueue.t .. 1/49 DBD::mysql::st execute failed: Unknown
column 'item_level_hold' in 'field list' [for Statement "SELECT biblionumber,
borrowernumber, itemnumber, priority, reserves.branchcode,
                                reservedate, reservenotes, borrowers.branchcode
AS borrowerbranch, itemtype, item_level_hold
                         FROM reserves
                         JOIN borrowers USING (borrowernumber)
                         WHERE biblionumber = ?
                         AND found IS NULL
                         AND priority > 0
                         AND reservedate <= CURRENT_DATE()
                         AND suspend = 0
                         ORDER BY priority" with ParamValues: 0=440] at
/kohadevbox/koha/C4/HoldsQueue.pm line 292.
Can't use an undefined value as an ARRAY reference at
/usr/lib/x86_64-linux-gnu/perl5/5.24/DBI.pm line 2088.
# Looks like your test exited with 11 just after 2.
t/db_dependent/HoldsQueue.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 47/49 subtests

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


More information about the Koha-bugs mailing list