[Tickets #13665] linked attachment with link_attach_size_hard

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Nov 5 14:40:20 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13665
------------------------------------------------------------------------------
  Ticket           | 13665
  Erstellt Von     | lukas.weiss at raiffeisen.it
  Zusammenfassung  | linked attachment with link_attach_size_hard
  Warteschlange    | IMP
  Version          | 6.2.2
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


lukas.weiss at raiffeisen.it (2014-11-05 14:40) hat geschrieben:

hi,
i set the link_attach_size_hard and link_attach_threshold both to 8  
megabytes. if i want to send a mail with 2 attachments (3 mb + 7 mb),  
i get this php error:

Call to a member function setRaw() on a non-object
/var/www/rolmail/releases/20141105083958/www/imp/lib/Compose.php on line 2895

i tried to debug it, but i don't understand how to fix it. i think it  
has something to do with this commit:  
https://github.com/horde/horde/commit/b90417d8b4a8cfeef56c6efab385963123cdec5a
$storage->forceLinked was removed from  
IMP_Compose_Attachment_Storage_VfsLinked and i think these lines  
should not change the vfspath, if the attachment is forced to be linked?

if (filesize($filename) < intval($conf['compose']['link_attach_threshold'])) {
     $this->_vfspath = self::VFS_ATTACH_PATH;
}

thanks for your help.





More information about the bugs mailing list