[Koha-bugs] [Bug 25265] Elasticsearch - Batch editing items on a biblio can lead to incorrect index
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 25 11:44:23 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25265
--- Comment #56 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 110737
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110737&action=edit
Bug 25265: (QA follow-up) Check server type in Elasticsearch::index_records
Doing the same change as previously (renaming biblionumber), but fixing
at the same the record fetch. If (theoretically) an authority is passed
without a record, it would have fetched a biblio record.
Test plan:
You need Elasticsearch here.
Replaced this line in AddAuthority:
$indexer->index_records( $authid, "specialUpdate", "authorityserver",
$record );
by
$indexer->index_records( $authid, "specialUpdate", "authorityserver", undef
);
And updated an authority record. Check if you can search for the change.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list