Bug 19420: Improve display of errors from failure of uploading file during stage...
authorNick Clemens <nick@bywatersolutions.com>
Thu, 19 Oct 2017 10:39:23 +0000 (10:39 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Nov 2017 16:31:37 +0000 (13:31 -0300)
commitdcfe9844ec5fbb95a42e8140a6b7e9310f15df84
tree32df740afb65c10af47e020cb2f1ac01892ca545
parent77ce1c6b7f8c0f4003df4493d8247d58e8405c86
Bug 19420: Improve display of errors from failure of uploading file during stage import

To test:
1 - sudo chown www-data:www-data /tmp/koha_kohadev_upload/ (or your
                relevant dir and user)
2 - Attempt to stage a file
3 - Error message is: Upload status: Failed
4 - Apply patch
5 - Repeat upload
6 - Error is now: Failed - Directory is not writeable:
/tmp/koha_kohadev_upload
7 - Trigger the other errors if you can and note better responses

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Uploader.pm
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt