[#13968] Linked attachments
Summary Linked attachments
Queue IMP
Queue Version 6.2.2
Type Bug
State Assigned
Priority 1. Low
Owners Horde Developers
Requester paolo@unica.it
Created 2015-04-24 (2377 days ago)
Updated 2016-01-25 (2101 days ago)
Assigned 2016-01-25 (2101 days ago)
Patch No

paolo@unica.it 2015-04-24 09:40:53
If I add an attachment with a size bigger than link_attach_threshold 
and then I add another attachment with a size smaller than 
link_attach_threshold I noticed a problem.
Basically if the sum of the sizes of the bigger and smaller attachment 
is over link_attach_size_hard i get a vfs error when I click Send.

Jan Schneider <jan@horde.org> 2015-04-24 12:43:30
Which error?

paolo@unica.it 2015-04-24 12:56:45
unable to open vfs file (path)

p.s. maybe hint
imp stores bigger attachment in vfs "compose" dir
smaller in vfs "attachment" dir

paolo@unica.it 2015-04-28 07:46:19
1st click send: cant contact server
2nd click send: unable to open vfs file (path)

Jan Schneider <jan@horde.org> 2015-04-28 09:44:15
> 1st click send: cant contact server

This would be cause by some error response from the web server. Which 
one is this?

paolo@unica.it 2015-04-29 09:36:33
PHP Fatal error:  Call to a member function setRaw() on a non-object 
in /var/www/html/horde/imp/lib/Compose.php on line 2880, referer: 

paolo@unica.it 2015-06-22 09:47:53
It persist with imp 6.2.8 horde 5.2.5
thank you

paolo@unica.it 2015-11-09 16:38:26
about Comment #1

once you click on "send" the smaller attachment name is overwritten 
with the name of the bigger one. At this point it can't be found.