]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Sep 2017 15:55:00 +0000 (12:55 -0300)
commit2671eb2f93340e8fb3c794cff918d86c526cc47f
tree800f838915f8bdcbc9b31c9f9220d1e09be264c2
parent88e82a01218775b8d780769d9fdc8c0054e37180
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>
C4/Items.pm
misc/migration_tools/rebuild_zebra.pl