[Koha-bugs] [Bug 12412] Add ability for plugins to convert arbitrary files to MARC from record staging tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 14:17:40 CEST 2015


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

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dpavlin at rot13.org

--- Comment #12 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
This bug will break Koha installation if there is no enable_plugins in
koha-conf.xml with following error:

Can't call method "GetPlugins" on an undefined value at
/srv/koha_ffzg/tools/stage-marc-import.pl line 206, <DATA> line 603.

This is not ideal, since it will break old installations.

Problem is line:

Koha::Plugins->new()->GetPlugins('to_marc');

where Koha::Plugins->new() will return undef is plugins are not enabled.

It seems we also have same syntax in plugins/plugins-home.pl so it should
probably be fixed also.

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


More information about the Koha-bugs mailing list