]> git.koha-community.org Git - koha.git/commit
Bug 18927: Use fully qualified subroutine names in C4::Items
authorMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 00:57:52 +0000 (12:57 +1200)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 02:00:05 +0000 (14:00 +1200)
commit65d5ad70b65189177622c4886f2718a0130cdbae
treea650744aaed3894381e02e3c46cf3059d036d6e6
parent9bcd719faa3aa153ebbdbc06d131daab4738d432
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>
C4/Items.pm
misc/migration_tools/rebuild_zebra.pl