Bugzilla – Attachment 14767 Details for
Bug 9281
Impossible to create an order from a staged file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9281: FIX add an order from a staged file
SIGNED-OFF-Bug-9281-FIX-add-an-order-from-a-staged.patch (text/plain), 1.79 KB, created by
Katrin Fischer
on 2013-01-23 07:34:59 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9281: FIX add an order from a staged file
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-01-23 07:34:59 UTC
Size:
1.79 KB
patch
obsolete
>From 1d9af482a94d12a2767f943d42bbb94a03f38743 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 13 Dec 2012 14:17:07 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 9281: FIX add an order from a staged file > >In GetMember the hash parameter contained >'C4::Members' => 'borrowernumber' >XXX => undef > >Test plan: >In the acquition module, try to add an order to a basket from a staged file. >Without this patch, you get an error: > DBD::mysql::st execute failed: called with 2 bind variables when 1 are needed at /home/koha/src/C4/Members.pm line 559 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >All tests pass, error only appearing in the log file. > >Test plan: >1) Create a basket >2) Add one or multiple order lines using a staged file and the 'batch' feature. > This is done by using the "Save" button at the bottom of the page instead > of the "Add order" link next to a single entry. >3) Check your koha-error_log for the error above. >--- > acqui/addorderiso2709.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index 4942571..c4f889f 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -189,7 +189,7 @@ if ($op eq ""){ > SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); > } > # 3rd add order >- my $patron = C4::Members->GetMember( borrowernumber => $loggedinuser ); >+ my $patron = C4::Members::GetMember( borrowernumber => $loggedinuser ); > my $branch = C4::Branch->GetBranchDetail( $patron->{branchcode} ); > # get quantity in the MARC record (1 if none) > my $quantity = GetMarcQuantity($marcrecord, C4::Context->preference('marcflavour')) || 1; >-- >1.7.9.5
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 9281
:
14070
|
14139
|
14143
|
14738
| 14767