6.0.0-beta1
7/6/25

[#10709] Clicking file name downloads an empty file
Summary Clicking file name downloads an empty file
Queue Gollem
Queue Version 2.0
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester simon (at) simonandkate (dot) net
Created 11/03/2011 (4994 days ago)
Due
Updated 11/03/2011 (4994 days ago)
Assigned
Resolved 11/03/2011 (4994 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/03/2011 01:53:02 PM simon (at) simonandkate (dot) net Comment #5 Reply to this comment
No probs, will wait for the next push and check.

Thx
11/03/2011 01:44:19 PM Jan Schneider Comment #4
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Turned out, even though it was affected by bug #8481, there was some 
separate issue too.
11/03/2011 01:44:09 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Reset stream pointer before sending the file content (Bug #10709).
The stream was already used earlier, when creating the Mime_Part and trying to
find a MIME viewer.
Also remove the flushing here too (Bug #8481).

  3 files changed, 8 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/b6d197cd1d67895c7def982a0e74eba565242b51
11/03/2011 01:30:40 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
11/03/2011 12:12:47 PM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Clicking file name downloads an empty file
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
In Gollem I have a Samba share setup. Clicking a file name downloads 
an empty file for some file types only. Clicking the download icon 
correctly opens the file.

PDFs seem to work OK with either link, as do jpg, but doc, xls, flv, 
all just open empty files with the name link but work fine with the 
download icon.

Saved Queries