[Koha-bugs] [Bug 8818] Authority linker error on Z cataloging

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 26 02:29:42 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8818

Nicole C. Engard <nengard at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12511|0                           |1
        is obsolete|                            |

--- Comment #4 from Nicole C. Engard <nengard at gmail.com> ---
Created attachment 12512
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12512&action=edit
[SIGNED-OFF] Bug 8818: make sure we load modules before using them

An eval { eval "require $module;" }; was replaced with
eval { eval { require $module; }; }; which is a no-op, meaning that
the linker was not getting loaded, and the catalog module was throwing
up a big nasty error every time someone tried to save a record with a
heading. This patch replaces the require with can_load from
Module::Load::Conditional, which is PBP-friendly, and offers equivalent
functionality.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list