Summary | unable to send mail with attachments |
Queue | IMP |
Queue Version | 6.1.1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | weis (at) kip (dot) uni-heidelberg (dot) de |
Created | 06/13/2013 (4410 days ago) |
Due | |
Updated | 06/13/2013 (4410 days ago) |
Assigned | |
Resolved | 06/13/2013 (4410 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ unable to send mail with attachments
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
while composing a new mail, it is possible to add attachment files.
They are shown in the attachment list.
But if want to send the mail an error message appears:
Unable to open VFS file.
The same happens, if i click on the filename.
horde version 5.1.0
imp version 6.1.1
horde is configured to use 'files on local system' for the VFS
In imp it doesn't matter if i switch on the usage of VFS or not.
ERROR message in the logfile:
[imp] Unable to open VFS file. [pid 24145 on line 68 of
"/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php"]
maybe interesting:
the message implies that there should be a file in
[VFS] .horde/imp/attachments/weis/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
But this does not exist.
In fact, there is a file
[VFS] .horde/imp/compose/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
which is the file i have uploaded
if i make a soft-link from [VFS] .horde/imp/attachments/weis/
to [VFS] .horde/imp/compose/51b9ac14-5898-49f4-b40a-5b3281ce7ff3
the mail is sent without error message
Error Message shown, if i click on the filename:
Unable to open VFS file.
1. IMP_Compose_View->composeAttachPreview() /data/horde4/imp/view.php:45
2. IMP_Compose_Attachment->getPart() /data/horde4/imp/lib/Compose/View.php:38
3. IMP_Compose_Attachment_Storage_Vfs->read()
/data/horde4/imp/lib/Compose/Attachment.php:131
4. IMP_Compose_View->composeAttachPreview() /data/horde4/imp/view.php:45
5. IMP_Compose_Attachment->getPart() /data/horde4/imp/lib/Compose/View.php:38
6. IMP_Compose_Attachment_Storage_Vfs->read()
/data/horde4/imp/lib/Compose/Attachment.php:131
7. Horde_Vfs_File->readStream()
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php:61
Details
Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben
und für Administratoren weiter unten ausgegeben. Benutzer, die keine
Administratoren sind, bekommen diese Details nicht zu sehen.
IMP_Compose_Exception Object
(
[encrypt] =>
[tied_identity] =>
[_logged:protected] =>
[details] =>
[logged] => 1
[_logLevel:protected] => 0
[message:protected] => Unable to open VFS file.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] =>
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php
[line:protected] => 68
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /data/horde4/imp/lib/Compose/Attachment.php
[line] => 131
[function] => read
[class] => IMP_Compose_Attachment_Storage_Vfs
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /data/horde4/imp/lib/Compose/View.php
[line] => 38
[function] => getPart
[class] => IMP_Compose_Attachment
[type] => ->
[args] => Array
(
[0] => 1
)
)
[2] => Array
(
[file] => /data/horde4/imp/view.php
[line] => 45
[function] => composeAttachPreview
[class] => IMP_Compose_View
[type] => ->
[args] => Array
(
[0] => 1
[1] => 1
[2] =>
)
)
)
[previous:Exception:private] => Horde_Vfs_Exception Object
(
[details] =>
[logged] =>
[_logLevel:protected] => 0
[message:protected] => Unable to open VFS file.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/php/Horde/Vfs/File.php
[line:protected] => 135
[trace:Exception:private] => Array
(
[0] => Array
(
[file] =>
/data/horde4/imp/lib/Compose/Attachment/Storage/Vfs.php
[line] => 61
[function] => readStream
[class] => Horde_Vfs_File
[type] => ->
[args] => Array
(
[0] => .horde/imp/attachments/weis
[1] =>
51b9ac14-5898-49f4-b40a-5b3281ce7ff3
)
)
[1] => Array
(
[file] =>
/data/horde4/imp/lib/Compose/Attachment.php
[line] => 131
[function] => read
[class] => IMP_Compose_Attachment_Storage_Vfs
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /data/horde4/imp/lib/Compose/View.php
[line] => 38
[function] => getPart
[class] => IMP_Compose_Attachment
[type] => ->
[args] => Array
(
[0] => 1
)
)
[3] => Array
(
[file] => /data/horde4/imp/view.php
[line] => 45
[function] => composeAttachPreview
[class] => IMP_Compose_View
[type] => ->
[args] => Array
(
[0] => 1
[1] => 1
[2] =>
)
)
)
[previous:Exception:private] =>
)
)