Bugzilla – Attachment 46012 Details for
Bug 15431
svc/checkouts dies due to undefined variable (13024 merge problem)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15431: svc/checkouts dies due to undefined variable (13024 merge problem)
Bug-15431-svccheckouts-dies-due-to-undefined-varia.patch (text/plain), 1.61 KB, created by
Frédéric Demians
on 2015-12-28 20:38:31 UTC
(
hide
)
Description:
Bug 15431: svc/checkouts dies due to undefined variable (13024 merge problem)
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-12-28 20:38:31 UTC
Size:
1.61 KB
patch
obsolete
>From abf5bcc3b4e13571ce4900311be836b4969215e1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 28 Dec 2015 10:57:41 -0300 >Subject: [PATCH] Bug 15431: svc/checkouts dies due to undefined variable > (13024 merge problem) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >When bug 13024 was merged into 3.20.x, a bug was introduced by replacing the >old way to fetch itemtype descriptions with the newer (3.22+). > >To test: >- Perform a checkout on a patron >- Check so all checkouts are shown immediately >=> FAIL: It keeps loading forever. The logs show the svc/checkouts script died >- Apply the patch >- Reload page >=> SUCCESS: It loads the circ information correctly >- Sign off :-D > >Regards > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> >--- > svc/checkouts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/checkouts b/svc/checkouts >index 47102ed..e262008 100755 >--- a/svc/checkouts >+++ b/svc/checkouts >@@ -152,7 +152,7 @@ while ( my $c = $sth->fetchrow_hashref() ) { > author => $c->{author}, > barcode => $c->{barcode}, > itemtype => $item_level_itypes ? $c->{itype} : $c->{itemtype}, >- itemtype_description => $itemtype->{translated_description}, >+ itemtype_description => $item_level_itypes ? $c->{itype_description} : $c->{itemtype_description}, > location => $c->{location} ? GetAuthorisedValueByCode( 'LOC', $c->{location} ) : q{}, > itemnotes => $c->{itemnotes}, > itemnotes_nonpublic => $c->{itemnotes_nonpublic}, >-- >2.6.2
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 15431
:
46004
|
46012
|
46013