Bugzilla – Attachment 57866 Details for
Bug 17709
Article request broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17709 - Article request broken - 'internal server error'
Bug-17709---Article-request-broken---internal-serv.patch (text/plain), 1.13 KB, created by
Kyle M Hall (khall)
on 2016-12-01 20:13:32 UTC
(
hide
)
Description:
Bug 17709 - Article request broken - 'internal server error'
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-12-01 20:13:32 UTC
Size:
1.13 KB
patch
obsolete
>From a5e782a47f9eaf2cebf915130ed9300fd8c95404 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 1 Dec 2016 20:11:41 +0000 >Subject: [PATCH] Bug 17709 - Article request broken - 'internal server error' > >Article requsts from OPAC and from intranet are showing an 'internal >server error'. I am testing in 16.11 with Plack. > >Test Plan: >1) Set circ rule to record only article requests >2) Attempt to place a request on a record with no items >3) Note the error >4) Apply this patch >5) You should now be able to place the request! >--- > Koha/Biblio.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm >index 934a86a..d9b26b0 100644 >--- a/Koha/Biblio.pm >+++ b/Koha/Biblio.pm >@@ -246,12 +246,12 @@ Returns the itemtype for this record. > sub itemtype { > my ( $self ) = @_; > >- return $self->_biblioitem()->itemtype(); >+ return $self->biblioitem()->itemtype(); > } > >-=head3 _biblioitem >+=head3 biblioitem > >-my $field = $self->_biblioitem()->itemtype >+my $field = $self->biblioitem()->itemtype > > Returns the related Koha::Biblioitem object for this Biblio object > >-- >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 17709
:
57866
|
57867
|
57882