[Tickets #13665] Re: linked attachment with link_attach_size_hard

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Nov 5 21:02:14 UTC 2014


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

Ticket URL: https://bugs.horde.org/ticket/13665
------------------------------------------------------------------------------
  Ticket             | 13665
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | linked attachment with link_attach_size_hard
  Queue              | IMP
  Version            | 6.2.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-11-05 14:02) wrote:

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
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