Bugzilla – Attachment 61390 Details for
Bug 18311
Exporting records without using a file is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18311 - Exporting records without using a file is broken
Bug-18311---Exporting-records-without-using-a-file.patch (text/plain), 976 bytes, created by
Nick Clemens (kidclamp)
on 2017-03-21 14:25:38 UTC
(
hide
)
Description:
Bug 18311 - Exporting records without using a file is broken
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-03-21 14:25:38 UTC
Size:
976 bytes
patch
obsolete
>From 2963d527b61f197bd85c851f6e2c092abaa26065 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 21 Mar 2017 10:05:17 -0400 >Subject: [PATCH] Bug 18311 - Exporting records without using a file is broken > >TO test: >Try exporting authority records using numbers >It wil faill >Apply patch >It should succeed >--- > tools/export.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/export.pl b/tools/export.pl >index ecf4a04..d0265db 100755 >--- a/tools/export.pl >+++ b/tools/export.pl >@@ -70,7 +70,7 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( > my @branch = $query->multi_param("branch"); > > my @messages; >-if ( $op eq 'export' ) { >+if ( $op eq 'export' & $query->param('id_list_file') ) { > my $filename = $query->param('id_list_file'); > my $mimetype = $query->uploadInfo($filename)->{'Content-Type'}; > my @valid_mimetypes = qw( application/octet-stream text/csv text/plain ); >-- >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 18311
: 61390