]> git.koha-community.org Git - koha.git/commit
Bug 18927: Use fully qualified subroutine names in C4::Items
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Sep 2017 15:06:56 +0000 (12:06 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Sep 2017 14:47:07 +0000 (16:47 +0200)
commit1a50b447d3d58b40d8f84e7c264f01abcb42a826
treea0714091e6e86000e28d598f4085a06ac00d4dc0
parent111ab4e63257410bf7ca34e80e46675603072c36
Bug 18927: Use fully qualified subroutine names in C4::Items

rebuild_zebra.pl fails in some conditions (perl version?)
I do not recreate but it has been reported that reindex fails with:
  error retrieving biblio 94540 at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 683, <DATA> line 751.

To fix it we can use fully qualified subroutine names for:
  GetMarcFromKohaField
  GetMarcBiblio
  GetBiblionumberFromItemnumber
  TransformKohaToMarc
  GetFrameworkCode

Test plan:
Confirm the rebuild_zebra script still works correctly after this patch

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2671eb2f93340e8fb3c794cff918d86c526cc47f)
C4/Items.pm
misc/migration_tools/rebuild_zebra.pl