Bugzilla – Attachment 73104 Details for
Bug 20446
QUOTES processing broken by run time error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch to allow users to use acquisitions via EDI
0001-Bug-20446-Revert-to-using-syspref-for-item-creation.patch (text/plain), 1.20 KB, created by
Colin Campbell
on 2018-03-20 14:21:00 UTC
(
hide
)
Description:
proposed patch to allow users to use acquisitions via EDI
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2018-03-20 14:21:00 UTC
Size:
1.20 KB
patch
obsolete
>From e4e3d7a2d386155841e0599ebf84dcffc2ce1114 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Mon, 19 Mar 2018 10:45:26 +0000 >Subject: [PATCH] Bug 20446 Revert to using syspref for item creation > >Using a per-basket setting is nonsensical when baskets >are created automatically by quote processing a few lines before >this attempts to read it. cron job aborts with a runtime error >leaving basket for quote half-created. >This reverts to the previous code using the global setting. >(Basket itself will have been set to the global setting >by default) >--- > Koha/EDI.pm | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/Koha/EDI.pm b/Koha/EDI.pm >index bad68d1995..1a15507171 100644 >--- a/Koha/EDI.pm >+++ b/Koha/EDI.pm >@@ -797,9 +797,7 @@ sub quote_item { > ); > } > >- my $basket = Koha::Acquisition::Basket->find( $basketno ); >- >- if ( $basket->effective_create_item eq 'ordering' ) { >+ if ( C4::Context->preference('AcqCreateItem') eq 'ordering' ) { > my $new_item = { > notforloan => -1, > cn_sort => q{}, >-- >2.14.3 >
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 20446
:
73090
|
73103
|
73104
|
73156
|
73424
|
73736
|
73756