[Koha-bugs] [Bug 20335] New: Stage MARC records for import does not work under Plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 5 15:31:18 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20335

            Bug ID: 20335
           Summary: Stage MARC records for import does not work under
                    Plack
 Change sponsored?: ---
           Product: Koha
           Version: 17.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: arouss1980 at gmail.com
        QA Contact: testopia at bugs.koha-community.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list