Bug 20335 - Stage MARC records for import does not work under Plack
Summary: Stage MARC records for import does not work under Plack
Status: RESOLVED DUPLICATE of bug 15032
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic record staging/import (show other bugs)
Version: 17.11
Hardware: All Linux
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-05 14:31 UTC by Andreas Roussos
Modified: 2019-09-16 03:35 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Roussos 2018-03-05 14:31:18 UTC
In a vanilla 17.11.03 installation with Plack enabled, attempting to
stage a MARC record for import fails with a pop-up message that
reads: "Failed to submit form: error".

In intranet-error.log the following information appears:
stage-marc-import.pl: /usr/share/koha/intranet/cgi-bin/tools/stage-marc-import.pl: cannot open input file /tmp/koha_hax_upload/3f11cee01b610984d5dbd6430106d173_koha.mrc: No such file or directory

The permissions of the directory and file above are as follows:
drwxr-xr-x 2 hax-koha hax-koha 4096 Mar  5 16:18 /tmp/koha_hax_upload
-rw-r--r-- 1 hax-koha hax-koha 1058 Mar  5 16:18 /tmp/koha_hax_upload/3f11cee01b610984d5dbd6430106d173_koha.mrc

To reproduce, simply enable Plack in a vanilla 17.11.03 installation,
then go to Home -> Tools -> Stage MARC records for import, browse for
a file, hit the "Upload file" button, and then click the "Stage for
import" button.
Comment 1 Jonathan Druart 2018-03-29 18:40:51 UTC

*** This bug has been marked as a duplicate of bug 15032 ***