• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3595: Better error message for zero file size attachment

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Low New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


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:


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

Summary Better error message for zero file size attachment
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.1.1
SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12817
AppliesTo Engine

Priority Low
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2007-04-26 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback