Bugzilla – Attachment 36706 Details for
Bug 13805
Installer does not work under Plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13805: Disable syspref cache - Plack
Bug-13805-Disable-syspref-cache---Plack.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2015-03-06 13:46:50 UTC
(
hide
)
Description:
Bug 13805: Disable syspref cache - Plack
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-06 13:46:50 UTC
Size:
1.09 KB
patch
obsolete
>From 3ce5e7e7bf45f6c239884bc05ef9f1b7a63e7157 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 6 Mar 2015 14:42:38 +0100 >Subject: [PATCH] Bug 13805: Disable syspref cache - Plack > >When going to the installer (without the DB structure), you have to log >twice before starting the installation. > >Test plan: >0/ Create a new database and fill the database entry in the koha conf >with its name >1/ Go on the mainpage, you should be redirected to the installer >2/ Try to log in >Without this patch, you will get the login form again. >With this patch, you can start the installation >--- > misc/plack/koha.psgi | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi >index 7acb567..66b09b2 100644 >--- a/misc/plack/koha.psgi >+++ b/misc/plack/koha.psgi >@@ -40,6 +40,8 @@ use C4::Tags; # FIXME > use Devel::Size 0.77; # 0.71 doesn't work for Koha > my $watch_capture_regex = '(C4|Koha)'; > >+C4::Context->disable_syspref_cache; >+ > sub watch_for_size { > my @watch = > map { s/^.*$watch_capture_regex/$1/; s/\//::/g; s/\.pm$//; $_ } # fix paths >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13805
:
36706
|
42431