Page MenuHomePhabricator

Error message after file upload warning prompt times out is misleading
Closed, DeclinedPublic

Description

I received the following error message, which is wrong:

"The file you uploaded seems to be empty. This might be due to a typo in the
file name. Please check whether you really want to upload this file."

However the file was not empty, I had simply waited too long to press "save
file" on the "warning" screen after uploading a file which already exists
(giving the option to "save file" or "re-upload"), and the image was presumably
automatically deleted from server.

The message should be changed as follows:

"The file you uploaded seems to be empty. This might be due to a typo in the
file name, or because a warning screen timed out. Please check the file and try
uploading it again."

A more complex solution would be to tailor the message accordingly, depending on
which path lead the user to the error.


Version: 1.8.x
Severity: normal
OS: Windows XP

Details

Reference
bz6792

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6792.
bzimport added a subscriber: Unknown Object (MLST).

jimmy.collins wrote:

I cannot reproduce this. In my test case I get the message 'filecopyerror':

"Could not copy file "/var/www/images/temp/e/ea/20060921014937!Logo.gif" to
"/var/www/images/e/ea/Logo.gif".