Before patch applied ==================== Tests work before patch is applied Change search engine system preference to elasticsearch and reindex =================================================================== The tests fail: root@kohadevbox:koha(bz22690)$ prove t/db_dependent/Koha/Item.t t/db_dependent/Koha/Item.t .. 1/7 Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '451' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '451' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '2020-10-30 11:13:40' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '451' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '451' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '2020-10-30 11:13:40' # Looks like you failed 6 tests of 80. # Failed test 'as_marc_field() tests' # at t/db_dependent/Koha/Item.t line 156. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in regexp compilation at /usr/share/perl5/MARC/Record.pm line 206. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 207. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. t/db_dependent/Koha/Item.t .. 4/7 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. t/db_dependent/Koha/Item.t .. 5/7 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. # Looks like you failed 1 test of 7. t/db_dependent/Koha/Item.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests Test Summary Report ------------------- t/db_dependent/Koha/Item.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=7, 68 wallclock secs ( 0.04 usr 0.01 sys + 55.58 cusr 1.74 csys = 57.37 CPU) Result: FAIL After patch applied =================== root@kohadevbox:koha(bz22690)$ prove t/db_dependent/Koha/Item.t t/db_dependent/Koha/Item.t .. 1/8 Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '461' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '461' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '2020-10-30 11:17:09' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '461' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '461' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '2020-10-30 11:17:09' # Looks like you failed 6 tests of 80. # Failed test 'as_marc_field() tests' # at t/db_dependent/Koha/Item.t line 156. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in regexp compilation at /usr/share/perl5/MARC/Record.pm line 206. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 207. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. t/db_dependent/Koha/Item.t .. 4/8 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. t/db_dependent/Koha/Item.t .. 5/8 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. t/db_dependent/Koha/Item.t .. 8/8 # Looks like you failed 1 test of 8. t/db_dependent/Koha/Item.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests Test Summary Report ------------------- t/db_dependent/Koha/Item.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=8, 69 wallclock secs ( 0.04 usr 0.01 sys + 56.60 cusr 2.43 csys = 59.08 CPU) Result: FAIL After adding 1,000 items and merging ==================================== root@kohadevbox:koha(bz22690)$ prove -v t/db_dependent/Koha/Item.t t/db_dependent/Koha/Item.t .. 1..8 # Subtest: hidden_in_opac() tests 1..4 ok 1 - No rules passed, shouldn't hide ok 2 - Empty rules passed, shouldn't hide ok 3 - Even with no rules, item should hide because of hidelostitems syspref ok 4 - Rule matching itype passed, should hide ok 1 - hidden_in_opac() tests # Subtest: has_pending_hold() tests 1..2 ok 1 - Yes, we have a pending hold ok 2 - We don't have a pending hold if nothing in the tmp_holdsqueue ok 2 - has_pending_hold() tests # Subtest: as_marc_field() tests 1..80 ok 1 - Generated field set the right tag number ok 2 - Value is mapped correctly for column itemnumber Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 3 - Value is mapped correctly for column biblionumber # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '499' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 4 - Value is mapped correctly for column biblioitemnumber # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '493' ok 5 - Value is mapped correctly for column barcode ok 6 - Value is mapped correctly for column dateaccessioned ok 7 - Value is mapped correctly for column booksellerid ok 8 - Value is mapped correctly for column homebranch ok 9 - Value is mapped correctly for column price ok 10 - Value is mapped correctly for column replacementprice ok 11 - Value is mapped correctly for column replacementpricedate ok 12 - Value is mapped correctly for column datelastborrowed ok 13 - Value is mapped correctly for column datelastseen ok 14 - Value is mapped correctly for column stack ok 15 - Value is mapped correctly for column notforloan ok 16 - Value is mapped correctly for column damaged ok 17 - Value is mapped correctly for column itemlost ok 18 - Value is mapped correctly for column withdrawn ok 19 - Value is mapped correctly for column itemcallnumber ok 20 - Value is mapped correctly for column coded_location_qualifier ok 21 - Value is mapped correctly for column issues ok 22 - Value is mapped correctly for column renewals ok 23 - Value is mapped correctly for column reserves ok 24 - Value is mapped correctly for column restricted ok 25 - Value is mapped correctly for column itemnotes ok 26 - Value is mapped correctly for column itemnotes_nonpublic ok 27 - Value is mapped correctly for column holdingbranch Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 28 - Value is mapped correctly for column timestamp # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 115. # got: undef # expected: '2020-10-30 16:13:56' ok 29 - Value is mapped correctly for column location ok 30 - Value is mapped correctly for column onloan ok 31 - Value is mapped correctly for column cn_source ok 32 - Value is mapped correctly for column cn_sort ok 33 - Value is mapped correctly for column ccode ok 34 - Value is mapped correctly for column materials ok 35 - Value is mapped correctly for column uri ok 36 - Value is mapped correctly for column itype ok 37 - Value is mapped correctly for column enumchron ok 38 - Value is mapped correctly for column copynumber ok 39 - Value is mapped correctly for column stocknumber ok 40 - Generated field set the right tag number ok 41 - Value is mapped correctly for column itemnumber Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 42 - Value is mapped correctly for column biblionumber # Failed test 'Value is mapped correctly for column biblionumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '499' Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 43 - Value is mapped correctly for column biblioitemnumber # Failed test 'Value is mapped correctly for column biblioitemnumber' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '493' ok 44 - Value is mapped correctly for column barcode ok 45 - Value is mapped correctly for column dateaccessioned ok 46 - Value is mapped correctly for column booksellerid ok 47 - Value is mapped correctly for column homebranch ok 48 - Value is mapped correctly for column price ok 49 - Value is mapped correctly for column replacementprice ok 50 - Value is mapped correctly for column replacementpricedate ok 51 - Value is mapped correctly for column datelastborrowed ok 52 - Value is mapped correctly for column datelastseen ok 53 - Value is mapped correctly for column stack ok 54 - Value is mapped correctly for column notforloan ok 55 - Value is mapped correctly for column damaged ok 56 - Value is mapped correctly for column itemlost ok 57 - Value is mapped correctly for column withdrawn ok 58 - Value is mapped correctly for column itemcallnumber ok 59 - Value is mapped correctly for column coded_location_qualifier ok 60 - Value is mapped correctly for column issues ok 61 - Value is mapped correctly for column renewals ok 62 - Value is mapped correctly for column reserves ok 63 - Value is mapped correctly for column restricted ok 64 - Value is mapped correctly for column itemnotes ok 65 - Value is mapped correctly for column itemnotes_nonpublic ok 66 - Value is mapped correctly for column holdingbranch Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. Use of uninitialized value $code_wanted in string eq at /usr/share/perl5/MARC/Field.pm line 314. not ok 67 - Value is mapped correctly for column timestamp # Failed test 'Value is mapped correctly for column timestamp' # at t/db_dependent/Koha/Item.t line 130. # got: undef # expected: '2020-10-30 16:13:56' ok 68 - Value is mapped correctly for column location ok 69 - Value is mapped correctly for column onloan ok 70 - Value is mapped correctly for column cn_source ok 71 - Value is mapped correctly for column cn_sort ok 72 - Value is mapped correctly for column ccode ok 73 - Value is mapped correctly for column materials ok 74 - Value is mapped correctly for column uri ok 75 - Value is mapped correctly for column itype ok 76 - Value is mapped correctly for column enumchron ok 77 - Value is mapped correctly for column copynumber ok 78 - Value is mapped correctly for column stocknumber ok 79 - There are no undef subfields ok 80 - more_subfield_xml is considered # Looks like you failed 6 tests of 80. not ok 3 - as_marc_field() tests # Failed test 'as_marc_field() tests' # at t/db_dependent/Koha/Item.t line 156. # Subtest: pickup_locations 1..114 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in regexp compilation at /usr/share/perl5/MARC/Record.pm line 206. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 207. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 1 - Object type is correct ok 2 - Object type is correct ok 3 - Object type is correct ok 4 - item1, patron1, holdallowed: homebranch, hold_fulfillment_policy: any should return 3 but returns 3 ok 5 - Object type is correct ok 6 - Object type is correct ok 7 - item1, patron1, holdallowed: homebranch, hold_fulfillment_policy: holdgroup should return 2 but returns 2 ok 8 - Object type is correct ok 9 - Object type is correct ok 10 - item1, patron1, holdallowed: homebranch, hold_fulfillment_policy: patrongroup should return 2 but returns 2 ok 11 - Object type is correct ok 12 - item1, patron1, holdallowed: homebranch, hold_fulfillment_policy: homebranch should return 1 but returns 1 ok 13 - Object type is correct ok 14 - item1, patron1, holdallowed: homebranch, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 15 - Object type is correct ok 16 - Object type is correct ok 17 - Object type is correct ok 18 - item1, patron1, holdallowed: any, hold_fulfillment_policy: any should return 3 but returns 3 ok 19 - Object type is correct ok 20 - Object type is correct ok 21 - item1, patron1, holdallowed: any, hold_fulfillment_policy: holdgroup should return 2 but returns 2 ok 22 - Object type is correct ok 23 - Object type is correct ok 24 - item1, patron1, holdallowed: any, hold_fulfillment_policy: patrongroup should return 2 but returns 2 ok 25 - Object type is correct ok 26 - item1, patron1, holdallowed: any, hold_fulfillment_policy: homebranch should return 1 but returns 1 ok 27 - Object type is correct ok 28 - item1, patron1, holdallowed: any, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 29 - Object type is correct ok 30 - Object type is correct ok 31 - Object type is correct ok 32 - item1, patron1, holdallowed: holdgroup, hold_fulfillment_policy: any should return 3 but returns 3 ok 33 - Object type is correct ok 34 - Object type is correct ok 35 - item1, patron1, holdallowed: holdgroup, hold_fulfillment_policy: holdgroup should return 2 but returns 2 ok 36 - Object type is correct ok 37 - Object type is correct ok 38 - item1, patron1, holdallowed: holdgroup, hold_fulfillment_policy: patrongroup should return 2 but returns 2 ok 39 - Object type is correct ok 40 - item1, patron1, holdallowed: holdgroup, hold_fulfillment_policy: homebranch should return 1 but returns 1 ok 41 - Object type is correct ok 42 - item1, patron1, holdallowed: holdgroup, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 43 - item1, patron4, holdallowed: homebranch, hold_fulfillment_policy: any should return 0 but returns 0 ok 44 - item1, patron4, holdallowed: homebranch, hold_fulfillment_policy: holdgroup should return 0 but returns 0 ok 45 - item1, patron4, holdallowed: homebranch, hold_fulfillment_policy: patrongroup should return 0 but returns 0 ok 46 - item1, patron4, holdallowed: homebranch, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 47 - item1, patron4, holdallowed: homebranch, hold_fulfillment_policy: holdingbranch should return 0 but returns 0 ok 48 - Object type is correct ok 49 - Object type is correct ok 50 - Object type is correct ok 51 - item1, patron4, holdallowed: any, hold_fulfillment_policy: any should return 3 but returns 3 ok 52 - Object type is correct ok 53 - Object type is correct ok 54 - item1, patron4, holdallowed: any, hold_fulfillment_policy: holdgroup should return 2 but returns 2 ok 55 - Object type is correct ok 56 - item1, patron4, holdallowed: any, hold_fulfillment_policy: patrongroup should return 1 but returns 1 ok 57 - Object type is correct ok 58 - item1, patron4, holdallowed: any, hold_fulfillment_policy: homebranch should return 1 but returns 1 ok 59 - Object type is correct ok 60 - item1, patron4, holdallowed: any, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 61 - item1, patron4, holdallowed: holdgroup, hold_fulfillment_policy: any should return 0 but returns 0 ok 62 - item1, patron4, holdallowed: holdgroup, hold_fulfillment_policy: holdgroup should return 0 but returns 0 ok 63 - item1, patron4, holdallowed: holdgroup, hold_fulfillment_policy: patrongroup should return 0 but returns 0 ok 64 - item1, patron4, holdallowed: holdgroup, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 65 - item1, patron4, holdallowed: holdgroup, hold_fulfillment_policy: holdingbranch should return 0 but returns 0 ok 66 - item3, patron1, holdallowed: homebranch, hold_fulfillment_policy: any should return 0 but returns 0 ok 67 - item3, patron1, holdallowed: homebranch, hold_fulfillment_policy: holdgroup should return 0 but returns 0 ok 68 - item3, patron1, holdallowed: homebranch, hold_fulfillment_policy: patrongroup should return 0 but returns 0 ok 69 - item3, patron1, holdallowed: homebranch, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 70 - item3, patron1, holdallowed: homebranch, hold_fulfillment_policy: holdingbranch should return 0 but returns 0 ok 71 - Object type is correct ok 72 - Object type is correct ok 73 - Object type is correct ok 74 - item3, patron1, holdallowed: any, hold_fulfillment_policy: any should return 3 but returns 3 ok 75 - Object type is correct ok 76 - item3, patron1, holdallowed: any, hold_fulfillment_policy: holdgroup should return 1 but returns 1 ok 77 - Object type is correct ok 78 - Object type is correct ok 79 - item3, patron1, holdallowed: any, hold_fulfillment_policy: patrongroup should return 2 but returns 2 ok 80 - item3, patron1, holdallowed: any, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 81 - Object type is correct ok 82 - item3, patron1, holdallowed: any, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 83 - item3, patron1, holdallowed: holdgroup, hold_fulfillment_policy: any should return 0 but returns 0 ok 84 - item3, patron1, holdallowed: holdgroup, hold_fulfillment_policy: holdgroup should return 0 but returns 0 ok 85 - item3, patron1, holdallowed: holdgroup, hold_fulfillment_policy: patrongroup should return 0 but returns 0 ok 86 - item3, patron1, holdallowed: holdgroup, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 87 - item3, patron1, holdallowed: holdgroup, hold_fulfillment_policy: holdingbranch should return 0 but returns 0 ok 88 - item3, patron4, holdallowed: homebranch, hold_fulfillment_policy: any should return 0 but returns 0 ok 89 - item3, patron4, holdallowed: homebranch, hold_fulfillment_policy: holdgroup should return 0 but returns 0 ok 90 - item3, patron4, holdallowed: homebranch, hold_fulfillment_policy: patrongroup should return 0 but returns 0 ok 91 - item3, patron4, holdallowed: homebranch, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 92 - item3, patron4, holdallowed: homebranch, hold_fulfillment_policy: holdingbranch should return 0 but returns 0 ok 93 - Object type is correct ok 94 - Object type is correct ok 95 - Object type is correct ok 96 - item3, patron4, holdallowed: any, hold_fulfillment_policy: any should return 3 but returns 3 ok 97 - Object type is correct ok 98 - item3, patron4, holdallowed: any, hold_fulfillment_policy: holdgroup should return 1 but returns 1 ok 99 - Object type is correct ok 100 - item3, patron4, holdallowed: any, hold_fulfillment_policy: patrongroup should return 1 but returns 1 ok 101 - item3, patron4, holdallowed: any, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 102 - Object type is correct ok 103 - item3, patron4, holdallowed: any, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 104 - Object type is correct ok 105 - Object type is correct ok 106 - Object type is correct ok 107 - item3, patron4, holdallowed: holdgroup, hold_fulfillment_policy: any should return 3 but returns 3 ok 108 - Object type is correct ok 109 - item3, patron4, holdallowed: holdgroup, hold_fulfillment_policy: holdgroup should return 1 but returns 1 ok 110 - Object type is correct ok 111 - item3, patron4, holdallowed: holdgroup, hold_fulfillment_policy: patrongroup should return 1 but returns 1 ok 112 - item3, patron4, holdallowed: holdgroup, hold_fulfillment_policy: homebranch should return 0 but returns 0 ok 113 - Object type is correct ok 114 - item3, patron4, holdallowed: holdgroup, hold_fulfillment_policy: holdingbranch should return 1 but returns 1 ok 4 - pickup_locations # Subtest: deletion 1..12 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 1 - Koha::Item->move_to_deleted should return the Deleted item ok 2 - ->move_to_deleted must have moved the item to deleteditem ok 3 - ->move_to_deleted must not have moved the item to deleteditem Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 4 - Koha::Item->safe_to_delete reports item on loan ok 5 - item that is on loan cannot be deleted Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 6 - Koha::Item->safe_to_delete reports IndependentBranches restriction ok 7 - IndependentBranches prevents deletion at another branch ok 8 - Koha::Item->safe_to_delete reports linked analytics ok 9 - Linked analytics prevents deletion of item ok 10 - Item cannot be deleted if a biblio-level is placed on the biblio and there is only 1 item attached to the biblio ok 11 - Koha::Item->safe_to_delete shows item safe to delete ok 12 - Koha::Item->safe_delete should delete item if safe_to_delete returns true ok 5 - deletion # Subtest: renewal_branchcode 1..13 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 1 - If interface not opac, we get the branch from context ok 2 - If interface not opac, we get the branch from context even if we pass one in ok 3 - If interface not opac, we get the branch we pass one in if context not set ok 4 - If interface opac and OpacRenewalBranch undef, we get OPACRenew ok 5 - If interface opac and OpacRenewalBranch undef, we get OPACRenew even if branch passed ok 6 - If interface opac and OpacRenewalBranch is none, we get blank string ok 7 - If interface opac and OpacRenewalBranch is none, we get blank string even if branch passed ok 8 - If interface opac and OpacRenewalBranch set to checkoutbranch, we get branch of checkout ok 9 - If interface opac and OpacRenewalBranch set to checkoutbranch, we get branch of checkout even if branch passed ok 10 - If interface opac and OpacRenewalBranch set to patronbranch, we get branch of patron ok 11 - If interface opac and OpacRenewalBranch set to patronbranch, we get branch of patron even if branch passed ok 12 - If interface opac and OpacRenewalBranch set to itemhomebranch, we get homebranch of item ok 13 - If interface opac and OpacRenewalBranch set to itemhomebranch, we get homebranch of item even if branch passed ok 6 - renewal_branchcode # Subtest: Tests for itemtype 1..2 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 1 - Pref enabled ok 2 - Pref disabled ok 7 - Tests for itemtype # Subtest: move_to_biblio() tests 1..16 Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202. ok 1 - move_to_biblio returns the target biblionumber if success ok 2 - move_to_biblio returns undef if the move has failed. If called twice, the item is not attached to the first biblio anymore ok 3 - item1 is moved ok 4 - item2 is not moved ok 5 - item3 is not moved ok 6 - move_to_biblio moves aq_orders for item 1 ok 7 - move_to_biblio does not move aq_orders for item 2 ok 8 - move_to_biblio does not move the biblio-level hold ok 9 - move_to_biblio moves the item-level hold placed on item 1 ok 10 - move_to_biblio does not move the item-level hold placed on item 2 ok 11 - move_to_biblio moves tmp_holdsqueue for item 1 ok 12 - move_to_biblio does not move tmp_holdsqueue for item 2 ok 13 - move_to_biblio moves hold_fill_targets for item 1 ok 14 - move_to_biblio does not move hold_fill_targets for item 2 ok 15 - move_to_biblio moves linktracker for item 1 ok 16 - move_to_biblio does not move linktracker for item 2 ok 8 - move_to_biblio() tests # Looks like you failed 1 test of 8. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests Test Summary Report ------------------- t/db_dependent/Koha/Item.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=8, 1458 wallclock secs ( 0.05 usr 0.01 sys + 1238.56 cusr 37.33 csys = 1275.95 CPU) Result: FAIL