http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6875
--- Comment #79 from Ian Walls <[email protected]> --- Created attachment 8133 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8133&action=edit Bug 6875 Followup: De-nesting C4::Items breaks bulkmarcimport Removing 'use C4::Branch' in favour of a subroutine-specific 'require C4::Branch' causes the GetBranchName subroutine to return an error, as it's not defined in C4::Items. Adding "C4::Branch::" scoping fixes the error, which is what's done here. To confirm problem: 1. Attempt to run bulkmarcimport.pl before applying the patch. You should get ERROR: Adding items to bib 435 failed: Undefined subroutine &C4::Items::GetBranchName called at /home/sekjal/kohaclone/C4/Items.pm line 656, <GEN13> line 435. To test: 2. apply patch 3. run bulkmarcimport again. Error should disappear. Signed-off-by: Ian Walls <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
