Created attachment 8398 [details] [review] proposed patch
Created attachment 8426 [details] [review] Bug 7775 - tools/upload-file.pl: scope $uploaded_file for plack
I've applied this patch and it seems to fix the problem described in title. Indeed, files upload works now but there's a (new?) problem: When the upload is done and clicking "Manage staged records" link on MARC Staging results page in order to view the details of the batch, i get an Internal Server Error. Also, in "Manage Staged MARC Records" page (list of batches) the file name is not shown on the line related to record(s) i've juste imported.
Alex, that's problem with tools/manage-marc-import.pl for which I submitted bug 7790, so you might as well sign-off this one ;-)
I have the same problem than in comment 2 when applying 7775 and 7790.
Created attachment 8584 [details] [review] Bug 7775 - tools/upload-file.pl: scoping for plack $uploaded_file is now scoped with our, and we set correct filename
Created attachment 8586 [details] [review] [Signed-Off] Bug 7775 - tools/upload-file.pl: scoping for plack $uploaded_file is now scoped with our, and we set correct filename Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
This patch should be pushed with 7790.
QA comment: same kind of patch as all the plack compliance patch. Passed QA
There have been no further reports of problems so I am marking this bug resolved.