https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27466 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116439|0 |1 is obsolete| | --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 116460 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116460&action=edit Bug 27466: Don't use set_preference from updatedatabase.pl We must never use subroutines or methods from updatedatabase.pl! Having it using C4::Context->set_preference will call Koha::Config::Syspref->store then C4::Log::logaction and finally Koha::Logger->get which will need the log4perl configured correctly (which is not necessary the case when you upgrade). Test plan: git checkout ed3e4540d73c1c3009375ad339e09a2e676fa1bd (20.06.00.022) reset_all Set the value of QuoteOfTheDay to 0 git checkout bug_27466 (master + this patch) updatedatabase => QuoteOfTheDay is an empty string git checkout ed3e4540d73c1c3009375ad339e09a2e676fa1bd (20.06.00.022) reset_all Set the value of QuoteOfTheDay to 1 git checkout bug_27466 (master + this patch) updatedatabase => QuoteOfTheDay is set to "opac" Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.