[Koha-bugs] [Bug 30465] BatchUpdateBiblio task does not deal with indexation correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 6 04:19:14 CEST 2022


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m
           Keywords|                            |additional_work_needed

--- Comment #20 from Fridolin Somers <fridolin.somers at biblibre.com> ---
This breaks unit test :

kohadev-koha at kohadevbox:/kohadevbox/koha$ prove
t/db_dependent/Koha/Items/BatchUpdate.t 
t/db_dependent/Koha/Items/BatchUpdate.t ..     # No tests run!
t/db_dependent/Koha/Items/BatchUpdate.t .. 1/7 
#   Failed test 'No tests run for subtest "MARC subfield linked with
kohafield"'
#   at t/db_dependent/Koha/Items/BatchUpdate.t line 78.
Can't locate object method "update_index" via package
"Koha::SearchEngine::Zebra::Indexer" at /kohadevbox/koha/Koha/Items.pm line
360.
# Looks like your test exited with 11 just after 1.
t/db_dependent/Koha/Items/BatchUpdate.t .. Dubious, test returned 11 (wstat
2816, 0xb00)
Failed 7/7 subtests

Indeed there is no update_index() in Koha::SearchEngine::Zebra::Indexer.
We should keep the old code in Koha/Items.pm line 360 right ?

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


More information about the Koha-bugs mailing list