]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sat, 16 Sep 2017 06:52:59 +0000 (08:52 +0200)
commit632d47db0b86542512b443e9bb69c00c3add31a7
treea1e71ff1fd431f779e1ccb81cf93806b357e9a8e
parent9fc57e9768426bf84d00e8238ff3851ced6e2997
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)
(cherry picked from commit 1a50b447d3d58b40d8f84e7c264f01abcb42a826)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Items.pm
misc/migration_tools/rebuild_zebra.pl