Bugzilla – Attachment 53745 Details for
Bug 16987
sub duplicate_framework in admin/marctagstructure.pl can't see variable $cache
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16987: Sub duplicate_framework in admin/marctagstructure.pl can't see variable $cache
Bug-16987-Sub-duplicateframework-in-adminmarctagst.patch (text/plain), 1.22 KB, created by
Josef Moravec
on 2016-07-27 09:45:34 UTC
(
hide
)
Description:
Bug 16987: Sub duplicate_framework in admin/marctagstructure.pl can't see variable $cache
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-07-27 09:45:34 UTC
Size:
1.22 KB
patch
obsolete
>From 8045fdc1eeec1994e6e81085b81862dea8f98363 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 27 Jul 2016 11:35:09 +0200 >Subject: [PATCH] Bug 16987: Sub duplicate_framework in > admin/marctagstructure.pl can't see variable $cache > >Test plan: >0) Ensure you are running on plack >1) Create new bibliographic framework >2) Go to Marc structure and select some existing framework to duplicate it to this new framework >3) You see internal server error (and there is a log in plack-error.log) >4) Go to biblioframeworks administration and MARC structure for that new framework, you see the fields are filled up >5) Apply the patch >6) Repeat 1 and 2 >7) Everything should work fine this time - no error >--- > admin/marctagstructure.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl >index 27d9592..ce7e792 100755 >--- a/admin/marctagstructure.pl >+++ b/admin/marctagstructure.pl >@@ -46,7 +46,7 @@ my $pagesize = 20; > my $script_name = "/cgi-bin/koha/admin/marctagstructure.pl"; > > my $dbh = C4::Context->dbh; >-my $cache = Koha::Cache->get_instance(); >+our $cache = Koha::Cache->get_instance(); > > # open template > my ($template, $loggedinuser, $cookie) >-- >2.1.4
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 16987
: 53745