Bugzilla – Attachment 92616 Details for
Bug 23553
Internal server error while placing a reserve through staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23553 : fix internal server error while placing reserve on item from pro interface
Bug-23553--fix-internal-server-error-while-placing.patch (text/plain), 1.34 KB, created by
Arthur Suzuki
on 2019-09-06 09:18:25 UTC
(
hide
)
Description:
Bug 23553 : fix internal server error while placing reserve on item from pro interface
Filename:
MIME Type:
Creator:
Arthur Suzuki
Created:
2019-09-06 09:18:25 UTC
Size:
1.34 KB
patch
obsolete
>From 0c6a0456df8aca45a19c3145d733b633dd1319fe Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Fri, 6 Sep 2019 11:13:58 +0200 >Subject: [PATCH] Bug 23553 : fix internal server error while placing reserve > on item from pro interface > >test plan : >1 / try to place a reserve on a specific item from the pro interface >2 / get failure >3 / apply patch >4 / repeat 1 and verify you don't get failure + there is a new reserve on the selected item. >--- > reserve/placerequest.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl >index 31b7e8c571..f89720fdd9 100755 >--- a/reserve/placerequest.pl >+++ b/reserve/placerequest.pl >@@ -91,7 +91,7 @@ if ( $type eq 'str8' && $borrower ) { > if ( $item->{'biblionumber'} ne $biblionumber ) { > $biblionumber = $item->{'biblionumber'}; > } >- if ( CanItemBeReserved($borrower->{'borrowernumber'}, $item->itemnumber, $branch)->{status} eq 'OK' ) { >+ if ( CanItemBeReserved($borrower->{'borrowernumber'}, $item->{'itemnumber'}, $branch)->{status} eq 'OK' ) { > AddReserve( $branch, $borrower->{'borrowernumber'}, > $biblionumber, \@realbi, $rank[0], $startdate, $expirationdate, $notes, $title, > $checkitem, $found, $itemtype ); >-- >2.20.1
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 23553
: 92616