[Koha-bugs] [Bug 25030] IncludeSeeFromInSearches not honoured in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 15 05:25:11 CEST 2021


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

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

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

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Hi :)
Tried to double test on this, manual test plan went well, added a line on step
6 to make more clear what is expected.

But on the automated test I get:
#   Failed test 'No tests run for subtest
"Koha::SearchEngine::Elasticsearch::marc_records_to_documents with
IncludeSeeFromInSearches"'
#   at t/db_dependent/Koha/SearchEngine/Elasticsearch.t line 927.
Can't use string ("Can't locate Search/Elasticsearc"...) as a HASH ref while
"strict refs" in use at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 135.

With ES 5 and ES 6, using koha-testing-docker.

The full message can be found by adding debug statements in
Koha/SearchEngine/Elasticsearch/Indexer.pm
line 127 at the begin of the catch.
(that was tedious I moved a `die;` statement everywhere, I'm sure there is a
better way and I wish there was a way to get the full exception text)

'Can\'t locate Search/Elasticsearch/CxnPool/Fluid.pm in @INC (you may need to
install the Search::Elasticsearch::CxnPool::Fluid module)

This Fluid module seems to not exists.

In
t/db_dependent/Koha/SearchEngine/Elasticsearch.t
line 110
if we change
cxn_pool => 'Fluid'
to
cxn_pool => 'Fluid_LOL_LOL_LOL'

we get
'Can\'t locate Search/Elasticsearch/CxnPool/Fluid_LOL_LOL_LOL.pm in @INC (you
may need to install the Search::Elasticsearch::CxnPool::Fluid_LOL_LOL_LOL
module)

No idea what this means o_o

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


More information about the Koha-bugs mailing list