Item3595: Better error message for zero file size attachment
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Feedback in
TWiki:Support/AttachFailureErrorMessage :
This is more of a suggestion to improve an existing error message. When an attachment attempt fails, it generates the following error:
Attention
Either you did not specify a file name, or the file you are trying to upload C:\My Documents\SomeDocumentName.xls has no content. You may not upload an empty file.
In our case, this happened not because the file had size zero but rather the temporary file that the "upload" script creates (during http copy?) had a zero file size.
This happened because /tmp on the Linux server machine was full. But it took us a while to figure out that this was the problem.
Can this error message be augumented to suggest to the user that the local tmp drive on the server machine might be full? This would allow the local twiki administrator to quickly latch on to the problem.
Good point.
--
TWiki:Main/PeterThoeny - 10 Feb 2007
This is not a documentation problem. It is in the code that you need to add additional intelligence and create multiple error messages depending on coded conditions.
Low priority though.
--
TWiki:Main.KennethLavrsen - 26 Apr 2007
dropping this. Not only should the web application not reveal server specific information to users - as thats how hackers collate ideas for how to exploit that installation, but its impossible for us to test and report on sufficient server issues to make this worthwhile to anyone.
If your admin isn't tracking that their file systems are running low on disk, that is not really something that foswiki should add a slowdown for.
That said, its also pretty good stuff for an addon plugin.
--
SvenDowideit - 27 Sep 2012 - 04:01