• 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.

/bin/oops/TWiki/WebHome?template=oopsattention;def=zero_size_upload

gives:

Uploaded file %PARAM1% does not exist or is empty

A more correct message would be:

You must select a file to upload

AC


Yes, but what if the file is of zero size?

-- TWiki:Main.AntonAylward


Add a note:

Note: empty files cannot be uploaded. -- AC


Well can't we test for file existance separate to file size > 0?

-- MC

I think the current message is OK, given the current logic. The logic could be improved, yes, so I'm only going to defer this and not close it. CC

Undeferred, post Dakar CC

One reflection, i don't see anything wrong with either the logic or the message.

Discarding.

CC


The system acts stupid, while blaming the user. Who has to figure what out?

It would be very informing that the file is zero bytes and thus cannot be uploaded.

AC

OK, this is one of those cases where it maybe looks ok to a native English speaker, but has a double meaning for a second language speaker, however fluent.

I changed the message.

CC

ItemTemplate
Summary oops upload message with empty file is not intelligent
ReportedBy ArthurClemens
Codebase

SVN Range

AppliesTo Engine
Component

Priority Low
CurrentState Closed
WaitingFor

Checkins 10510 9832
TargetRelease patch
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r14 - 2006-06-28 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback