[Koha-bugs] [Bug 28303] Having multiple pluginsdir causes plugin_upload to try to write to the opac-tmpl folder

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 3 12:59:52 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28303

--- Comment #9 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 125668
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125668&action=edit
Bug 28303: Fix plugins system with multiple pluginsdir settings

C4/Templates::badtemplatecheck mucks with the config('pluginsdir') array ref.
This makes sure it operates on a copy of the array.

To test:
   1) $ prove t/db_dependent/Templates.t

Signed-off-by: David Nind <david at davidnind.com>
JK: Fix commit message styling and add test plan

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

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


More information about the Koha-bugs mailing list