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

--- Comment #2 from Marcel de Rooy <[email protected]> ---
Created attachment 211596
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211596&action=edit
Bug 44103: Add check on Ajax http status in file-upload.js

This is a least work-solution. Probably this needs to move to
fetch API etc.
Note that it was a bit hard to get to the exact file name of the
failing upload when doing a multi file upload.

Test plan:
Check what your max request body is for Apache or your reverse proxy
before Apache etc. (By default 100MB in Apache.)
Upload a larger file via Tools/Upload in staff view.
Verify that you receive an error message like:
  FILE_NAME: Something went wrong during the Ajax upload: An uploaded file was
too large.
Note that if you would upload multiple files including the larger one,
you will see:
  FILE1,FILE2: <same message>

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to