Bugzilla – Attachment 168306 Details for
Bug 35618
catalogue/showelastic.pl uses deprecated/removed parameter "type"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35618 - catalogue/showelastic.pl uses deprecated/removed parameter "type" [ES7.x]
Bug-35618---catalogueshowelasticpl-uses-deprecated.patch (text/plain), 1.08 KB, created by
Danyon Sewell
on 2024-07-01 05:27:43 UTC
(
hide
)
Description:
Bug 35618 - catalogue/showelastic.pl uses deprecated/removed parameter "type" [ES7.x]
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-07-01 05:27:43 UTC
Size:
1.08 KB
patch
obsolete
>From 53db204134f9bea063cdd0f70be7b557328a2b90 Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Mon, 1 Jul 2024 05:23:43 +0000 >Subject: [PATCH] Bug 35618 - catalogue/showelastic.pl uses deprecated/removed > parameter "type" [ES7.x]i > >it appears despite "type" being depreciated it's still required in some cases. > >[2024/07/01 14:24:52] [WARN] [Param] ** Missing required param (type) in (get) request. , called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at /usr/share/koha/intranet/cgi-bin/catalogue/showelastic.pl line 61. > >subbing it out with type '_doc' seems to do the trick >--- > catalogue/showelastic.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/showelastic.pl b/catalogue/showelastic.pl >index d9b2c53dbd4..5de55fdeb9f 100755 >--- a/catalogue/showelastic.pl >+++ b/catalogue/showelastic.pl >@@ -60,7 +60,7 @@ my @es_fields; > try { > $es_record = $es->get_elasticsearch()->get({ > index => $es->index_name, >- type => 'data', >+ type => '_doc', > id => $biblionumber, > }); > } >-- >2.39.2
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 35618
:
160123
|
160221
|
160227
|
168306