6.0.0-alpha14
7/1/25

[#10539] Error when downloading linked attachments
Summary Error when downloading linked attachments
Queue IMP
Queue Version 5.0.11
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester sheck (at) einsof-haras (dot) ca
Created 09/20/2011 (5033 days ago)
Due
Updated 09/21/2011 (5032 days ago)
Assigned
Resolved 09/21/2011 (5032 days ago)
Github Issue Link
Github Pull Request
Milestone 5.0.14
Patch No

History
09/21/2011 06:10:00 PM sheck (at) einsof-haras (dot) ca Comment #3 Reply to this comment
Fix confirmed.

Thank you for the quick response.
09/21/2011 03:15:08 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 5.0.14
 
09/21/2011 03:14:43 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix sending notifications after download of linked attachments 
(Bug #10539).

  3 files changed, 6 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/f271521d2eb706c191c54a01dee11dad19928ae9
09/20/2011 07:27:06 PM sheck (at) einsof-haras (dot) ca Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error when downloading linked attachments
Due ⇒ 10/01/2011
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When I send a linked attachment and the user on the other end tries to 
download it an error is logged in Horde:

DEBUG: HORDE [imp] PHP ERROR: Argument 3 passed to 
Horde_Mime_Part::send() must be an instance of Horde_Mail_Transport, 
none given, called in /var/www/horde4/imp/attachment.php on line 107 
and defined [pid 1122 on line 1590 of 
"/var/www/horde4/pear/php/Horde/Mime/Part.php"]

The user gets a blank screen (php error display is disabled). However, 
if the user tries to download the attachment again, it works. I 
noticed that if the file <attachment>.notify does not exist in the 
temp directory, the above error is logged. I can reproduce the error 
by simply deleting <attachment>.notify file.

My System:

Ubuntu 10.04
PHP 5.3.2
Apache 2.2.14
Horde 4.0.9
Imp 5.0.11

Saved Queries