[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:18:03 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17980

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #3)
> Actually, the Elastic Search problem is larger than this:
> Look at ModZebra itself:
>         if ( $op eq 'specialUpdate' ) {
>             unless ($record) {
>                 $record = GetMarcBiblio($biblionumber, 1);
>             }
>             my $records = [$record];
>             $indexer->update_index_background( [$biblionumber], [$record] );
>         }
> 
> This code is wrong in case you call ModZebra for an authority !

At least if you pass no record and call GetMarcBiblio :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list