Bugzilla – Attachment 42903 Details for
Bug 14905
search_utf8.t fails to upload a file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14905: Search_utf8.t fails to upload a file
Bug-14905-Searchutf8t-fails-to-upload-a-file.patch (text/plain), 1.29 KB, created by
Marcel de Rooy
on 2015-09-28 09:04:45 UTC
(
hide
)
Description:
Bug 14905: Search_utf8.t fails to upload a file
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-09-28 09:04:45 UTC
Size:
1.29 KB
patch
obsolete
>From 8cae155a01cb2c72170c965b535a77f8950e891b Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 28 Sep 2015 10:54:55 +0200 >Subject: [PATCH] Bug 14905: Search_utf8.t fails to upload a file >Content-Type: text/plain; charset=utf-8 > >Running the test fails on test 7: >not ok 7 - upload succeeded > >The changes on bug 14321 included a temp flag for script upload-file.pl. >Since this upload for stage-marc-import should be temporary, adding this >flag to line 131 resolves the problem. > >Test plan: >Run the adjusted test. >NOTE: I still had some problems with this test. And will still be looking >to these errors (perhaps open a new report). But this fix should at least >fix the above-mentioned test. >--- > t/db_dependent/www/search_utf8.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/www/search_utf8.t b/t/db_dependent/www/search_utf8.t >index 737ed39..6229254 100644 >--- a/t/db_dependent/www/search_utf8.t >+++ b/t/db_dependent/www/search_utf8.t >@@ -128,7 +128,7 @@ sub test_search{ > 'go to stage MARC' ); > > $agent->post( >- "$intranet/cgi-bin/koha/tools/upload-file.pl", >+ "$intranet/cgi-bin/koha/tools/upload-file.pl?temp=1", > [ 'fileToUpload' => [$file], ], > 'Content_Type' => 'form-data', > ); >-- >1.7.10.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 14905
:
42903
|
42909