[Koha-bugs] [Bug 36331] Items that cannot be held are prevented renewal when there are holds on the record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 22 13:55:55 CET 2024


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed,
                   |                            |RM_priority

--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
It looks like this actually breaks unit tests:

prove t/db_dependent/Holds.t 
t/db_dependent/Holds.t .. 68/74 Use of uninitialized value in numeric le (<=)
at /kohadevbox/koha/C4/Circulation.pm line 3014.
Use of uninitialized value in addition (+) at
/kohadevbox/koha/C4/Circulation.pm line 3021.
Use of uninitialized value in numeric le (<=) at
/kohadevbox/koha/C4/Circulation.pm line 3014.
Use of uninitialized value in addition (+) at
/kohadevbox/koha/C4/Circulation.pm line 3021.

    #   Failed test 'Can renew'
    #   at t/db_dependent/Holds.t line 1531.

    #   Failed test 'Item is on non priority hold'
    #   at t/db_dependent/Holds.t line 1532.
    #          got: 'on_reserve'
    #     expected: undef
Use of uninitialized value in numeric le (<=) at
/kohadevbox/koha/C4/Circulation.pm line 3014.
Use of uninitialized value in addition (+) at
/kohadevbox/koha/C4/Circulation.pm line 3021.
    # Looks like you failed 2 tests of 6.

#   Failed test 'non priority holds'
#   at t/db_dependent/Holds.t line 1559.
t/db_dependent/Holds.t .. 73/74 # Looks like you failed 1 test of 74.
t/db_dependent/Holds.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/74 subtests 

Test Summary Report
-------------------
t/db_dependent/Holds.t (Wstat: 256 Tests: 74 Failed: 1)
  Failed test:  69
  Non-zero exit status: 1
Files=1, Tests=74,  7 wallclock secs ( 0.02 usr  0.01 sys +  4.67 cusr  0.98
csys =  5.68 CPU)
Result: FAIL


Please follow-up!

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


More information about the Koha-bugs mailing list