http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14148
Bug ID: 14148
Summary: Bug 12412 breaks import if plugins are not enabled
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Dobrica reported on bug 12412:
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.
--
It's a little bit worse: plugins had to be enabled. Even adding
<enable_plugins>0</enable_plugins>
to koha-conf.xml won't help.
--
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/