Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2999 closed enhancement (fixed)

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

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

Description

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:

Error

No file uploaded 

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by cboos

  • Milestone set to 0.10
  • Owner changed from jonas to cboos
  • Priority changed from normal to low
  • Severity changed from normal to trivial
  • Type changed from defect to enhancement

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

comment:2 Changed 8 years ago by Markus Tacker <m@…>

  • 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 Changed 8 years ago by cboos

  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 8 years ago by cboos

  • Keywords attachment added

(fixed in r3217)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The owner will remain cboos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from cboos to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.