[Koha-bugs] [Bug 17897] Koha::SearchMappingManager - Simplify search mapping modifications
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 17 12:27:07 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17897
--- Comment #16 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to David Nind from comment #14)
> Tests are still failing for me:
>
> prove -vvv t/db_dependent/Koha/SearchEngine/ElasticSearch.t
> t/db_dependent/Koha/SearchEngine/ElasticSearch.t ..
> # Subtest: Reset Elasticsearch mappings
> ok 1 - Scenario: Reset Elasticsearch mappings to an empty database
> ok 2 - Given empty search mapping tables
> ok 3 - When reset_elasticsearch_mappings() has been ran
> ok 4 - Then search mapping tables have been populated
> ok 5 - Scenario: Reset Elasticsearch mappings when custom mappings
> already exist
> 1..5
> ok 1 - Reset Elasticsearch mappings
> DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
> execute failed: Data truncated for column 'type' at row 1 at
> /kohadevbox/koha/Koha/Objects.pm line 114
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 11 just after 1.
> Dubious, test returned 11 (wstat 2816, 0xb00)
> All 1 subtests passed
>
> Test Summary Report
> -------------------
> t/db_dependent/Koha/SearchEngine/ElasticSearch.t (Wstat: 2816 Tests: 1
> Failed: 0)
> Non-zero exit status: 11
> Parse errors: No plan found in TAP output
> Files=1, Tests=1, 4 wallclock secs ( 0.02 usr 0.00 sys + 3.65 cusr 0.15
> csys = 3.82 CPU)
> Result: FAIL
Tables search_field column type only accepts following values:
'','string','date','number','boolean','sum','isbn','stdno','year','callnumber'.
Tests use value "keyword".
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list