Edgewall Software

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#2999 closed enhancement (fixed)

Attempting to attach an empty file will return a vague error message.

Reported by: mcaldwell@… Owned by: Christian Boos
Priority: low Milestone: 0.10
Component: ticket system Version: 0.9.4
Severity: trivial Keywords: attachment
Cc: m@… Branch:
Release Notes:
API Changes:
Internal Changes:


1) Create an empty text file.
2) Try to attach it to a Trac ticket.
—> Notice the error message you receive doesn't give you any hint as to why the upload failed:


No file uploaded 

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 16 years ago

Milestone: 0.10
Owner: changed from Jonas Borgström to Christian Boos
Priority: normallow
Severity: normaltrivial
Type: defectenhancement

Ok, something like Can't upload empty files would probably be a bit better.

comment:2 by Markus Tacker <m@…>, 16 years ago

Cc: m@… added

Well, yes. Maybe there is a reason out there where an empty file is needed by someone. So the best solution would be to allow zero length files.

comment:3 by Christian Boos, 16 years ago

Resolution: fixed
Status: newclosed

Well, most of the time uploading an empty file would be done by mistake. If an empty file is really needed as a placeholder or such (?) one can take the extra pain to create a file with a linefeed inside.

comment:4 by Christian Boos, 16 years ago

Keywords: attachment added

(fixed in r3217)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.