Bugzilla – Attachment 112829 Details for
Bug 26581
Elasticsearch - Records can be indexed multiple times during returns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26581: (follow-up) Skip merge when deleting authority
Bug-26581-follow-up-Skip-merge-when-deleting-autho.patch (text/plain), 1.28 KB, created by
Nick Clemens (kidclamp)
on 2020-11-02 12:48:30 UTC
(
hide
)
Description:
Bug 26581: (follow-up) Skip merge when deleting authority
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-11-02 12:48:30 UTC
Size:
1.28 KB
patch
obsolete
>From dbe1f0511ea8e0e1e49cdb0f489886456ea65ac6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 2 Nov 2020 12:46:59 +0000 >Subject: [PATCH] Bug 26581: (follow-up) Skip merge when deleting authority > >Tests failing, seems to be because the indexes haven't been created yet. >When deleting authority we perform a 'merge' where we search for biblios >containing the authority. > >Since these are simply tets we can skip this step, avoid the search, and avoid >a crash >--- > t/db_dependent/Koha/SearchEngine/Indexer.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/SearchEngine/Indexer.t b/t/db_dependent/Koha/SearchEngine/Indexer.t >index 997f6f17ca..3e32f4441a 100755 >--- a/t/db_dependent/Koha/SearchEngine/Indexer.t >+++ b/t/db_dependent/Koha/SearchEngine/Indexer.t >@@ -97,7 +97,7 @@ subtest 'Test indexer calls' => sub { > } [$engine,"C4::AuthoritiesMarc"], "index_records is called for $engine is called when adding authority"; > > warnings_are{ >- $authid = DelAuthority({ authid => $authid }); >+ $authid = DelAuthority({ authid => $authid, skip_merge => 1 }); > } [$engine,"C4::AuthoritiesMarc"], "index_records is called for $engine is called when adding authority"; > > my $biblio; >-- >2.11.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 26581
:
111001
|
111002
|
111596
|
111597
|
111878
|
111879
|
112563
|
112578
| 112829