[Tickets #7216] Re: Attaching an empty file (0 bytes) fails with no feedback

bugs at horde.org bugs at horde.org
Mon Aug 18 19:53:12 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7216
------------------------------------------------------------------------------
  Ticket             | 7216
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Attaching an empty file (0 bytes) fails with no
                     | feedback
  Queue              | DIMP
  Version            | HEAD
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2008-08-18 15:53) wrote:

We do display an error - my changes to add the alerts log broke alert  
display on the compose page, which has been fixed.

And we have previously discussed the '0 bytes attachment' issue  
previously (although I couldn't find the discussion with a quick  
search).  IIRC the reason we don't allow 0 byte attachments is either  
1.) it has something to do with the limitation of the PHP upload core  
code and/or 2.) users uploading a file that may be in use on the  
browser-side (i.e. a windows temp file) get instant notification that  
the file they thought they have attached wasn't attached and/or 3.) we  
couldn't think of a situation (outside of testing) why a 0-byte file  
was valid.





More information about the bugs mailing list