Bugzilla – Attachment 43483 Details for
Bug 15014
Plack testing -- Import patrons tool -- sample text file link broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15014: Returns 0 if everything went fine
Bug-15014-Returns-0-if-everything-went-fine.patch (text/plain), 977 bytes, created by
Jonathan Druart
on 2015-10-16 09:04:08 UTC
(
hide
)
Description:
Bug 15014: Returns 0 if everything went fine
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-16 09:04:08 UTC
Size:
977 bytes
patch
obsolete
>From 4f1222a4f8d5c2a5ebb9a18f14113659f56af37a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 16 Oct 2015 09:02:26 +0000 >Subject: [PATCH] Bug 15014: Returns 0 if everything went fine > >Be kind and return 0 if the sample file has been generated correctly. >Otherwise you are a bad guy and you make Plack returns an internal error >(exited nonzero: 1 at /home/vagrant/kohaclone/tools/import_borrowers.pl line 390.) >--- > tools/import_borrowers.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl >index 6d2f0c2..c3d9ada 100755 >--- a/tools/import_borrowers.pl >+++ b/tools/import_borrowers.pl >@@ -97,7 +97,7 @@ if ($input->param('sample')) { > ); > $csv->combine(@columnkeys); > print $csv->string, "\n"; >- exit 1; >+ exit 0; > } > my $uploadborrowers = $input->param('uploadborrowers'); > my $matchpoint = $input->param('matchpoint'); >-- >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 15014
:
43483
|
43800
|
44429