Trying to run a plugin results in the following error: Software error: Undefined subroutine &Koha::Plugins::Base::get_template_and_user called at /home/koha/kohaclone/Koha/Plugins/Base.pm line 108. The is caused by the change from 'use C4::Auth' to 'require C4::Auth' which does not export get_template_and_user.
Created attachment 17125 [details] [review] Bug 9971 - Plugins system is broken! Trying to run a plugin results in the following error: Software error: Undefined subroutine &Koha::Plugins::Base::get_template_and_user called at /home/koha/kohaclone/Koha/Plugins/Base.pm line 108. The is caused by the change from 'use C4::Auth' to 'require C4::Auth' which does not export get_template_and_user. Test Plan: 1) Install the KitchenSink plugin 2) Try to run the report, tool or configuration for the plugin 3) Note the error 4) Apply the patch 5) Try again
Created attachment 17138 [details] [review] [SIGNED-OFF] Bug 9971 - Plugins system is broken! Trying to run a plugin results in the following error: Software error: Undefined subroutine &Koha::Plugins::Base::get_template_and_user called at /home/koha/kohaclone/Koha/Plugins/Base.pm line 108. The is caused by the change from 'use C4::Auth' to 'require C4::Auth' which does not export get_template_and_user. Test Plan: 1) Install the KitchenSink plugin 2) Try to run the report, tool or configuration for the plugin 3) Note the error 4) Apply the patch 5) Try again Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 17158 [details] [review] Bug 9971 - Plugins system is broken! Trying to run a plugin results in the following error: Software error: Undefined subroutine &Koha::Plugins::Base::get_template_and_user called at /home/koha/kohaclone/Koha/Plugins/Base.pm line 108. The is caused by the change from 'use C4::Auth' to 'require C4::Auth' which does not export get_template_and_user. Test Plan: 1) Install the KitchenSink plugin 2) Try to run the report, tool or configuration for the plugin 3) Note the error 4) Apply the patch 5) Try again Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This patch has been pushed to master.