[Koha-bugs] [Bug 17980] Fix wrong call to ModZebra in AddAuthority ( affects Elastic Search users)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 24 11:10:04 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17980
--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 59490
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59490&action=edit
Bug 17980: Fix wrong call to ModZebra in AddAuthority (affects Elastic Search
users)
The ModZebra call in AddAuthority incorrectly passes five parameters
to ModZebra including $oldRecord.
This makes the last parameter (the new record) being ignored !!
A closer inspection of ModZebra reveals that this only affects installs
using Elastic Search. The record parameter is ignored when you still
use Zebra.
Note: Keep in mind that AddAuthority is being used in adding as well as
modifying authority records. This patch is part of a larger effort to
make improvements in this area and will not be last one. Please help to
get this further (see bug 17908).
Trivial fix.
Test plan:
[1] If you use Elastic Search, verify that the new authority record is
being indexed, not the old one.
[2] If you do not use Elastic Search, add or modify an authority and
search for this change in Authority (Search entire record).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list