Bugzilla – Attachment 93361 Details for
Bug 23670
Load Koha::Exceptions::ElasticSearch module in Koha::SearchEngine::Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23670 Load Koha::Exceptions::ElasticSearch module in Koha::SearchEngine::Elasticsearch
Bug-23670-Load-KohaExceptionsElasticSearch-module-.patch (text/plain), 1.43 KB, created by
Séverine Queune
on 2019-10-01 12:30:03 UTC
(
hide
)
Description:
Bug 23670 Load Koha::Exceptions::ElasticSearch module in Koha::SearchEngine::Elasticsearch
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2019-10-01 12:30:03 UTC
Size:
1.43 KB
patch
obsolete
>From 6a7c8f47dbcf857f74477e722843ab1dc9b61eb3 Mon Sep 17 00:00:00 2001 >From: Nicolas Legrand <nicolas.legrand@bulac.fr> >Date: Mon, 23 Sep 2019 18:27:32 +0200 >Subject: [PATCH] Bug 23670 Load Koha::Exceptions::ElasticSearch module in > Koha::SearchEngine::Elasticsearch >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Prevent Koha::SearchEngine::Elasticsearch from dying when trying to run >Koha::Exceptions::Elasticsearch::MARCFieldExprParseError->throw() > >Plan test: > >1. Go to Administration -> Searchengine configuration, and add a mapping > for 995Z, whatever the search field (I did it with local-classification), > save >2. run $KOHA_PATH/misc/search_tools/rebuild_elasticsearch.pl -v -d -b >3. see it die asking for Koha::Exceptions::Elasticsearch >4. apply patch >5. rerun $KOHA_PATH/misc/search_tools/rebuild_elasticsearch.pl -v -d -b >6. see it throw: Invalid MARC field expression: 995Z > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > Koha/SearchEngine/Elasticsearch.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 3104e2a..820f7f1 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -23,6 +23,7 @@ use C4::Context; > > use Koha::Database; > use Koha::Exceptions::Config; >+use Koha::Exceptions::Elasticsearch; > use Koha::SearchFields; > use Koha::SearchMarcMaps; > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23670
:
93132
|
93361
|
93727