[Koha-bugs] [Bug 14321] Merge UploadedFile and UploadedFiles into Koha::Upload
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 17 15:18:31 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14321
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #41499|0 |1
is obsolete| |
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 41556
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41556&action=edit
Bug 14321: Add some error checking to Upload.pm
This patch makes Upload return some error codes if a file cannot be read
or cannot be written.
Test plan:
[1] Upload a file with stage-marc-import.pl. This is a temporary file; it
will be saved in your system's temporary dir (e.g. /tmp) within the
folder koha_upload.
[2] Change the owner of this koha_upload dir and remove write permissions.
[3] Upload the file again. You should get: Upload status: Failed.
[4] Restore owner and permissions.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list