Bugzilla – Attachment 187047 Details for
Bug 39636
Add options to compare_es_to_db script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39636: Update curl link
Bug-39636-Update-curl-link.patch (text/plain), 1.42 KB, created by
Martin Renvoize (ashimema)
on 2025-09-29 13:53:53 UTC
(
hide
)
Description:
Bug 39636: Update curl link
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-09-29 13:53:53 UTC
Size:
1.42 KB
patch
obsolete
>From 0222cd0158b817cea778fa8516b89311e24bc9ba Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 15 Apr 2025 11:49:12 +0000 >Subject: [PATCH] Bug 39636: Update curl link > >With the move to the latest ES versions we got rid of 'data' type - we need to use '_doc' > >To test: >1 - Delete a record from the DB directly > DELETE FROM biblio WHERE biblionumber=45; >2 - perl misc/maintenance/compare_es_to_db.pl >3 - Try the curl command - it doesn't work >4 - Apply this patch >5 - perl misc/maintenance/compare_es_to_db.pl >6 - Try the curl command - it now fetches the record > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > misc/maintenance/compare_es_to_db.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/maintenance/compare_es_to_db.pl b/misc/maintenance/compare_es_to_db.pl >index c937a92aa37..4e64851595c 100755 >--- a/misc/maintenance/compare_es_to_db.pl >+++ b/misc/maintenance/compare_es_to_db.pl >@@ -152,7 +152,7 @@ foreach my $index (@indices) { > print "Records that exist in ES but not in Koha\n"; > for my $problem (@es_problems) { > print " #$problem"; >- print " Enter this command to view record: curl $es_base/data/$problem?pretty=true\n"; >+ print " Enter this command to view record: curl $es_base/_doc/$problem?pretty=true\n"; > } > } > >-- >2.51.0
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 39636
:
180957
|
180958
|
180959
|
180972
|
180973
|
187046
| 187047