Modify ↓
#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 7 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
comment:2 Changed 7 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 7 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.
Note: See
TracTickets for help on using
tickets.



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