]> git.koha-community.org Git - koha.git/commit
Bug 19687: Undefined subroutine in bulkmarcimport
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Wed, 26 Sep 2018 15:25:44 +0000 (17:25 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 15 Oct 2018 12:57:22 +0000 (12:57 +0000)
commit3f09e1d73338c86762412546e1a0617df698f422
tree009615b47fc05e81449e1b03eb514bfd1ae8fec5
parentb23fe0b0b8d468fe80d40aef1a12296421cc1d37
Bug 19687: Undefined subroutine in bulkmarcimport

Bulkmarcimport produces undefined subroutine error for
C4::Items::TransformMarcToKoha and C4::Items::GetMarcStructure
probably caused by mutually recursive modules. Put exports in
BEGIN clause before all the other imports.

To test:
1) Run bulkmarcimport.pl before applying patch and verify
that undefined subroutine error occurs
2) Apply patch
3) Run bulkmarcimport.pl again and verify that no errors are
produced

Sponsored-by: Gothenburg University Library
Signed-off-by: George Veranis <gveranis@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Biblio.pm
C4/Items.pm