Bug 29697: tracklinks should not explode on invalid marc record
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 25 Jul 2022 13:08:35 +0000 (15:08 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 25 Jul 2022 13:19:42 +0000 (10:19 -0300)
commit64176acbc903f049c7d1508745961b72c0cc1c52
treebddd2afb3f6d60c4f69415c68f519acd43fce4b1
parent24b7675dac561ae34bf4bbf0295fbf7d008c3e8a
Bug 29697: tracklinks should not explode on invalid marc record

Caught by t/db_dependent/www/regressions.t

    #   Failed test '404 for itemnumber containing different URI'
    #   at t/db_dependent/www/regressions.t line 124.
    #          got: '500'
    #     expected: '404'

    #   Failed test '302 for itemnumber with matching URI'
    #   at t/db_dependent/www/regressions.t line 126.
    #          got: '500'
    #     expected: '302'

    #   Failed test '404 for itemnumber containing different URI'
    #   at t/db_dependent/www/regressions.t line 139.
    #          got: '500'
    #     expected: '404'

    #   Failed test '302 for itemnumber with matching URI'
    #   at t/db_dependent/www/regressions.t line 141.
    #          got: '500'
    #     expected: '302'
    # Looks like you failed 4 tests of 36.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/tracklinks.pl